| Package | Description |
|---|---|
| java.lang |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.lang.annotation |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| org.apidesign.bck2brwsr.core |
| Modifier and Type | Class and Description |
|---|---|
interface |
Deprecated
A program element annotated @Deprecated is one that programmers
are discouraged from using, typically because it is dangerous,
or because a better alternative exists.
|
interface |
Override
Indicates that a method declaration is intended to override a
method declaration in a supertype.
|
interface |
SafeVarargs
A programmer assertion that the body of the annotated method or
constructor does not perform potentially unsafe operations on its
varargs parameter.
|
interface |
SuppressWarnings
Indicates that the named compiler warnings should be suppressed in the
annotated element (and in all program elements contained in the annotated
element).
|
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
Class.getAnnotation(Class<A> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
Class.getAnnotations() |
Annotation[] |
Class.getDeclaredAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Class.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
| Modifier and Type | Class and Description |
|---|---|
interface |
Documented
Indicates that annotations with a type are to be documented by javadoc
and similar tools by default.
|
interface |
Inherited
Indicates that an annotation type is automatically inherited.
|
interface |
Retention
Indicates how long annotations with the annotated type are to
be retained.
|
interface |
Target
Indicates the kinds of program element to which an annotation type
is applicable.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType()
Returns the Class object for the annotation type with the
missing element.
|
Class<? extends Annotation> |
Annotation.annotationType()
Returns the annotation type of this annotation.
|
| Constructor and Description |
|---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation type.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
Method.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
Field.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
Constructor.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
AnnotatedElement.getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if
such an annotation is present, else null.
|
<T extends Annotation> |
AccessibleObject.getAnnotation(Class<T> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
AnnotatedElement.getAnnotations()
Returns all annotations present on this element.
|
Annotation[] |
AccessibleObject.getAnnotations() |
Annotation[] |
Method.getDeclaredAnnotations() |
Annotation[] |
Field.getDeclaredAnnotations() |
Annotation[] |
Constructor.getDeclaredAnnotations() |
Annotation[] |
AnnotatedElement.getDeclaredAnnotations()
Returns all annotations that are directly present on this
element.
|
Annotation[] |
AccessibleObject.getDeclaredAnnotations() |
Annotation[][] |
Method.getParameterAnnotations()
Returns an array of arrays that represent the annotations on the formal
parameters, in declaration order, of the method represented by
this
Method object. |
Annotation[][] |
Constructor.getParameterAnnotations()
Returns an array of arrays that represent the annotations on the formal
parameters, in declaration order, of the method represented by
this
Constructor object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnnotatedElement.isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type
is present on this element, else false.
|
boolean |
AccessibleObject.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
| Modifier and Type | Class and Description |
|---|---|
interface |
Exported
Marks the corresponding program element as exported.
|
interface |
ExtraJavaScript
A way to include pre-made JavaScript scripts and libraries.
|
interface |
JavaScriptBody
Put this annotation on a method to provide its special implementation
in JavaScript.
|
interface |
JavaScriptOnly
Don't include given method in the generated JavaScript at all.
|
interface |
JavaScriptPrototype
Influence the inheritance of your class when converted to JavaScript.
|
Copyright © 2017 API Design. All Rights Reserved.