Package | Description |
---|---|
com.google.gwt.core.client |
Fundamental classes used in client-side GWT code.
|
com.google.gwt.core.ext |
Classes used to extend the GWT compiler.
|
com.google.gwt.core.ext.linker |
Classes for writing Linkers.
|
com.google.gwt.core.ext.typeinfo |
Type-introspection support classes used by generators.
|
com.google.gwt.dev.javac | |
com.google.gwt.dev.javac.typemodel |
Type-introspection support classes used by generators.
|
com.google.gwt.dev.shell.rewrite | |
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
com.google.gwt.editor.client |
A framework for editing bean-like objects.
|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.i18n.server |
This package contains server-side i18n classes and interfaces.
|
com.google.gwt.i18n.server.impl | |
com.google.gwt.place.shared |
A package for managing bookmarkable locations in an application.
|
com.google.gwt.resources.client |
Classes for aggregating static resources into bundles.
|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
com.google.gwt.safehtml.client |
Interfaces for creating safe HTML content using templates.
|
com.google.gwt.safehtml.shared.annotations | |
com.google.gwt.uibinder.client |
Classes used to generate user interfaces using declarative ui.xml files.
|
com.google.gwt.user.client.rpc |
Classes used in client-side implementation of remote procedure calls.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
com.google.gwt.user.server |
Utility classes for server-side code.
|
com.google.gwt.user.server.rpc |
Classes used in server-side implementation of remote procedure calls.
|
com.google.gwt.util |
A package containing an annotation used to mark package-info.java classes.
|
com.google.gwt.validation.client | |
com.google.gwt.validation.client.constraints | |
com.google.gwt.validation.client.impl | |
java.lang | |
java.lang.annotation | |
javaemul.internal.annotations | |
javax.validation.constraints |
Modifier and Type | Class and Description |
---|---|
interface |
GwtScriptOnly
Deprecated.
since hosted/dev mode is deprecated and has no other uses.
|
interface |
SingleJsoImpl
This annotation may be placed on an interface to declare the single
JavaScriptObject type that implements the interface.
|
interface |
SingleJsoImplName
This annotation may be placed on an interface to name the single
JavaScriptObject type that implements the interface.
|
interface |
UnsafeNativeLong
This annotation can be placed on a native method to allow it to directly
access Java
long values. |
Modifier and Type | Class and Description |
---|---|
static interface |
Generator.RunsLocal
An optional annotation indicating that a Generator can be run with local information during
incremental compilation.
|
Modifier and Type | Class and Description |
---|---|
interface |
LinkerOrder
Defines the relative order in which a Linker will be run.
|
interface |
Shardable
This annotation, when placed on a
Linker
class, indicates that the linker supports the shardable version of the Linker
API. |
interface |
Transferable
An artifact marked with this annotation is passed through a compilation all
the way to the final call to
Linker.link(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.LinkerContext, ArtifactSet, boolean)
. |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
JClassType.findAnnotationInTypeHierarchy(Class<T> annotationType)
Find an annotation on a type or on one of its superclasses or
superinterfaces.
|
<T extends Annotation> |
HasAnnotations.getAnnotation(Class<T> annotationClass)
Returns an instance of the specified annotation type if it is present on
this element or
null if it is not. |
Modifier and Type | Method and Description |
---|---|
Annotation[] |
HasAnnotations.getAnnotations()
Returns all the annotations present on this element.
|
Annotation[] |
HasAnnotations.getDeclaredAnnotations()
Returns the annotations declared directly on this element; does not include
any inherited annotations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HasAnnotations.isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns
true if this item has an annotation of the specified
type. |
Modifier and Type | Method and Description |
---|---|
JMethod |
Resolver.newMethod(JClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
JMethod |
Resolver.newMethod(JClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
void |
Resolver.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
void |
Resolver.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
boolean |
Resolver.resolveAnnotations(TreeLogger logger,
List<CollectAnnotationData> annotations,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
boolean |
Resolver.resolveAnnotations(TreeLogger logger,
List<CollectAnnotationData> annotations,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
JClassType.findAnnotationInTypeHierarchy(Class<T> annotationType)
Find an annotation on a type or on one of its superclasses or
superinterfaces.
|
abstract <T extends Annotation> |
JClassType.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JParameter.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JArrayType.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JField.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JAbstractMethod.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JPackage.getAnnotation(Class<T> annotationClass) |
<T extends Annotation> |
JRealClassType.getAnnotation(Class<T> annotationClass) |
Modifier and Type | Method and Description |
---|---|
abstract Annotation[] |
JClassType.getAnnotations() |
Annotation[] |
JParameter.getAnnotations() |
Annotation[] |
JArrayType.getAnnotations() |
Annotation[] |
JField.getAnnotations() |
Annotation[] |
JAbstractMethod.getAnnotations() |
Annotation[] |
JPackage.getAnnotations() |
Annotation[] |
JRealClassType.getAnnotations() |
abstract Annotation[] |
JClassType.getDeclaredAnnotations() |
Annotation[] |
JParameter.getDeclaredAnnotations() |
Annotation[] |
JArrayType.getDeclaredAnnotations() |
Annotation[] |
JField.getDeclaredAnnotations() |
Annotation[] |
JAbstractMethod.getDeclaredAnnotations() |
Annotation[] |
JPackage.getDeclaredAnnotations() |
Annotation[] |
JRealClassType.getDeclaredAnnotations() |
Modifier and Type | Method and Description |
---|---|
protected void |
TypeOracleUpdater.addAnnotations(JPackage pkg,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
protected void |
TypeOracleUpdater.addAnnotations(JPackage pkg,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
protected void |
TypeOracleUpdater.addAnnotations(JRealClassType type,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
protected void |
TypeOracleUpdater.addAnnotations(JRealClassType type,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
abstract boolean |
JClassType.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JParameter.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JArrayType.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JField.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JAbstractMethod.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JPackage.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
JRealClassType.isAnnotationPresent(Class<? extends Annotation> annotationClass) |
protected JAnnotationMethod |
TypeOracleUpdater.newAnnotationMethod(JRealClassType enclosingType,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] jtypeParameters,
Object defaultValue) |
protected JAnnotationMethod |
TypeOracleUpdater.newAnnotationMethod(JRealClassType enclosingType,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] jtypeParameters,
Object defaultValue) |
protected JConstructor |
TypeOracleUpdater.newConstructor(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
protected JConstructor |
TypeOracleUpdater.newConstructor(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
protected JEnumConstant |
TypeOracleUpdater.newEnumConstant(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
int ordinal) |
protected JEnumConstant |
TypeOracleUpdater.newEnumConstant(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
int ordinal) |
protected JField |
TypeOracleUpdater.newField(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
protected JField |
TypeOracleUpdater.newField(JRealClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations) |
protected JMethod |
TypeOracleUpdater.newMethod(JClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
protected JMethod |
TypeOracleUpdater.newMethod(JClassType type,
String name,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
JTypeParameter[] typeParams) |
protected void |
TypeOracleUpdater.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
protected void |
TypeOracleUpdater.newParameter(JAbstractMethod method,
JType argType,
String argName,
Map<Class<? extends Annotation>,Annotation> declaredAnnotations,
boolean argNamesAreReal) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HasAnnotation.hasAnnotation(byte[] classBytes,
Class<? extends Annotation> annotation)
A utility method to determine if the class defined in
classBytes has a particular annotation. |
Constructor and Description |
---|
HasAnnotation(org.objectweb.asm.ClassVisitor v,
Class<? extends Annotation> annotation) |
Modifier and Type | Class and Description |
---|---|
interface |
PartialSupport
Annotation for classes that are only supported on a limited set of browsers.
|
interface |
TagName
Indicates the tag name of an
Element subclass. |
Modifier and Type | Class and Description |
---|---|
static interface |
Editor.Ignore
Tells the Editor framework to ignore an Editor accessor.
|
static interface |
Editor.Path
Maps a composite Editor's component Editors into the data-model.
|
Modifier and Type | Class and Description |
---|---|
static interface |
Constants.DefaultBooleanValue
Default boolean value to be used if no translation is found (and also used as the
source for translation).
|
static interface |
Constants.DefaultDoubleValue
Default double value to be used if no translation is found (and also used as the
source for translation).
|
static interface |
Constants.DefaultFloatValue
Default float value to be used if no translation is found (and also used as the
source for translation).
|
static interface |
Constants.DefaultIntValue
Default integer value to be used if no translation is found (and also used as the
source for translation).
|
static interface |
Constants.DefaultStringArrayValue
Default string array value to be used if no translation is found (and also
used as the source for translation).
|
static interface |
Constants.DefaultStringMapValue
Default string map value to be used if no translation is found (and also
used as the source for translation).
|
static interface |
Constants.DefaultStringValue
Default string value to be used if no translation is found (and also used as the
source for translation).
|
static interface |
CustomDateTimeFormat.Pattern
Annotation containing the pattern skeleton.
|
static interface |
LocalizableResource.DefaultLocale
Specifies the default locale for messages in this file.
|
static interface |
LocalizableResource.Description
Specifies a description of the string to be translated, such as a note
about the context.
|
static interface |
LocalizableResource.Generate
Requests that a translation source file be generated from the annotated
interface.
|
static interface |
LocalizableResource.GeneratedFrom
Annotation indicating this is a generated file and the source file it was
generated from.
|
static interface |
LocalizableResource.GenerateKeys
Requests that the keys for messages be generated automatically.
|
static interface |
LocalizableResource.Key
The key used for lookup of translated strings.
|
static interface |
LocalizableResource.Meaning
Specifies the meaning of the translated string.
|
static interface |
Messages.AlternateMessage
Provides alternate forms of a message, such as are needed when plural
forms are used or a placeholder has known gender.
|
static interface |
Messages.DefaultMessage
Default text to be used if no translation is found (and also used as the
source for translation).
|
static interface |
Messages.Example
An example of the annotated parameter to assist translators.
|
static interface |
Messages.Offset
Ignored except on parameters also tagged with
Messages.PluralCount , and
provides an offset to be subtracted from the value before a plural rule
is chosen or the value is formatted. |
static interface |
Messages.Optional
Indicates the specified parameter is optional and need not appear in a
particular translation of this message.
|
static interface |
Messages.PluralCount
Provides multiple plural forms based on a count.
|
static interface |
Messages.PluralText
Deprecated.
use
Messages.AlternateMessage instead |
static interface |
Messages.Select
Provides multiple forms based on a dynamic parameter.
|
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
MessageInterface.getAnnotation(Class<A> annotClass)
Return the requested annotation present on this message, including parents
if the annotation is inherited.
|
abstract <A extends Annotation> |
AbstractParameter.getAnnotation(Class<A> annotClass) |
abstract <A extends Annotation> |
AbstractMessageInterface.getAnnotation(Class<A> annotClass) |
<A extends Annotation> |
Parameter.getAnnotation(Class<A> annotClass)
Get an annotation from this parameter.
|
abstract <A extends Annotation> |
AbstractMessage.getAnnotation(Class<A> annotClass) |
<A extends Annotation> |
Message.getAnnotation(Class<A> annotClass)
Return the requested annotation present on this message, including parents
if the annotation is inherited.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MessageInterface.isAnnotationPresent(Class<? extends Annotation> annotClass)
Check if a specified annotation is present on this message (including
via inheritance if the annotation is inherited).
|
boolean |
AbstractParameter.isAnnotationPresent(Class<? extends Annotation> annotClass) |
abstract boolean |
AbstractMessageInterface.isAnnotationPresent(Class<? extends Annotation> annotClass) |
boolean |
Parameter.isAnnotationPresent(Class<? extends Annotation> annotClass)
Check if an annotation is present on this parameter.
|
abstract boolean |
AbstractMessage.isAnnotationPresent(Class<? extends Annotation> annotClass) |
boolean |
Message.isAnnotationPresent(Class<? extends Annotation> annotClass)
Check if a specified annotation is present on this message (including
via inheritance if the annotation is inherited).
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
ReflectionUtils.getAnnotation(Class<?> clazz,
Class<A> annotClass,
boolean forceInherit) |
<A extends Annotation> |
ReflectionMessageInterface.getAnnotation(Class<A> annotClass) |
<A extends Annotation> |
ReflectionMessage.getAnnotation(Class<A> annotClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReflectionMessageInterface.isAnnotationPresent(Class<? extends Annotation> annotClass) |
boolean |
ReflectionMessage.isAnnotationPresent(Class<? extends Annotation> annotClass) |
Modifier and Type | Class and Description |
---|---|
interface |
Prefix
Indicates the prefix to use when the token written by
PlaceTokenizer.getToken(Place) is written to
History.newItem(java.lang.String) . |
interface |
WithTokenizers
Indicates
PlaceTokenizer types used by an implementation of
PlaceHistoryMapper generated by
com.google.gwt.place.rebind.PlaceHistoryMapperGenerator . |
Modifier and Type | Class and Description |
---|---|
static interface |
ClientBundle.Source
Specifies the classpath location of the resource or resources associated
with the
ResourcePrototype . |
static interface |
CssResource.ClassName
The original CSS class name specified in the resource.
|
static interface |
CssResource.Import
Makes class selectors from other CssResource types available in the raw
source of a CssResource.
|
static interface |
CssResource.ImportedWithPrefix
Specifies the string prefix to use when one CssResource is imported into
the scope of another CssResource.
|
static interface |
CssResource.NotStrict
The presence of this annotation on a CssResource accessor method indicates
that any class selectors that do not correspond with a String accessor
method in the return type or an
@external declaration should not
trigger a compilation error. |
static interface |
CssResource.Shared
Indicates that the String accessor methods defined in a CssResource will
return the same values across all implementations of that type.
|
static interface |
CssResource.Strict
Deprecated.
Strict mode is now the default behavior for CssResource
|
static interface |
DataResource.DoNotEmbed
Specifies that the resource or resources associated with the
ResourcePrototype should not be embedded into the compiled output. |
static interface |
DataResource.MimeType
Specifies the MIME Type of the resource or resources associated with the
ResourcePrototype . |
static interface |
GwtCreateResource.ClassType
This annotation can be applied to the resource getter method in order to
call
GWT.create with a class literal other than that of the
return type parameterization. |
static interface |
ImageResource.ImageOptions
Specifies additional options to control how an image is bundled.
|
Modifier and Type | Class and Description |
---|---|
interface |
DefaultExtensions
Specifies the default extensions for a resource type.
|
interface |
ResourceGeneratorType
Specifies the implementation of ResourceGenerator to use for a type of
ResourcePrototype . |
Modifier and Type | Class and Description |
---|---|
static interface |
SafeHtmlTemplates.Template
The HTML template.
|
Modifier and Type | Class and Description |
---|---|
interface |
IsSafeHtml
A type annotation that represents values that are safe to use in a HTML context.
|
interface |
IsSafeUri
A type annotation that represents values that are safe to use in a URI context.
|
interface |
IsTrustedResourceUri
A type annotation that represents URIs referencing the application’s own, trusted resources.
|
interface |
SuppressIsSafeHtmlCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.
|
interface |
SuppressIsSafeUriCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.
|
interface |
SuppressIsTrustedResourceUriCastCheck
Annotates methods that rely on potentially-unsafe type-annotation casts.
|
Modifier and Type | Class and Description |
---|---|
interface |
UiChild
Mark a method as the appropriate way to add a child widget to the parent
class.
|
interface |
UiConstructor
Marks a constructor that may be used as an alternative to a widget's
zero args construtor in a
UiBinder template. |
interface |
UiFactory
Marks a method that may be called as an alternative to a GWT.create call in a
UiBinder template. |
interface |
UiField
Marks fields in a UiBinder client that must be filled by the binder's
UiBinder.createAndBindUi(O) method. |
interface |
UiHandler
Marks a method to be automatically bound as an event handler.
|
interface |
UiTemplate
Indicates the template from which to generate a
UiBinder . |
Modifier and Type | Class and Description |
---|---|
interface |
GwtTransient
This annotation means the same thing as the
transient keyword,
but it is ignored by all serialization systems other than GWT's. |
interface |
RemoteServiceRelativePath
Associates a
RemoteService with a relative path. |
static interface |
RpcToken.RpcTokenImplementation
RemoteService interfaces specifying RpcToken implementation
using this annotation will only have serializers for the specific class
generated, as opposed to generating serializers for all RpcToken
implementations. |
Modifier and Type | Class and Description |
---|---|
static interface |
ImageBundle.Resource
Deprecated.
Explicitly specifies a file name or path to the image resource to be
associated with a method in an
ImageBundle . |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
Util.getClassAnnotation(Class<?> clazz,
Class<T> annotationClass)
Find an instance of the specified annotation, walking up the inheritance
tree if necessary.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Util.isMethodXsrfProtected(Method method,
Class<? extends Annotation> xsrfAnnotation,
Class<? extends Annotation> noXsrfAnnotation,
Class<?> xsrfTokenInterface)
Checks if specified method is XSRF protected based on the following logic:
Method level annotations override class level annotations.
|
static boolean |
Util.isMethodXsrfProtected(Method method,
Class<? extends Annotation> xsrfAnnotation,
Class<? extends Annotation> noXsrfAnnotation,
Class<?> xsrfTokenInterface)
Checks if specified method is XSRF protected based on the following logic:
Method level annotations override class level annotations.
|
Modifier and Type | Class and Description |
---|---|
interface |
NoXsrfProtect
Annotation on RPC interfaces and methods indicating that they do not need to
be XSRF protected.
|
interface |
XsrfProtect
Annotation for RPC interfaces and methods indicating that they should be
XSRF protected.
|
Modifier and Type | Class and Description |
---|---|
interface |
PreventSpuriousRebuilds
Deprecated.
not needed anymore,
|
Modifier and Type | Class and Description |
---|---|
interface |
GwtValidation
Annotates a
javax.validation.Validator explicitly listing the classes
that can be validated in GWT. |
Modifier and Type | Class and Description |
---|---|
class |
NotGwtCompatibleValidator<A extends Annotation,T>
Masks a
ConstraintValidator that is not GWT compatible. |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintDescriptorImpl<T extends Annotation>
A immutable GWT implementation of
ConstraintDescriptor . |
static class |
ConstraintDescriptorImpl.Builder<T extends Annotation>
Builder for
ConstraintDescriptorImpl . |
class |
ConstraintValidatorContextImpl<A extends Annotation,T>
GWT safe immutable implementation of
ConstraintValidatorContext |
Modifier and Type | Method and Description |
---|---|
protected <V,T,A extends Annotation> |
AbstractGwtSpecificValidator.addSingleViolation(GwtValidationContext<T> context,
Set<javax.validation.ConstraintViolation<T>> violations,
G object,
V value,
ConstraintDescriptorImpl<A> constraintDescriptor) |
static <T extends Annotation> |
ConstraintDescriptorImpl.builder() |
<A extends Annotation,V> |
GwtValidationContext.createConstraintValidatorContext(javax.validation.metadata.ConstraintDescriptor<A> descriptor) |
protected <A extends Annotation,T,V> |
AbstractGwtSpecificValidator.validate(GwtValidationContext<T> context,
Set<javax.validation.ConstraintViolation<T>> violations,
G object,
V value,
javax.validation.ConstraintValidator<A,? super V> validator,
ConstraintDescriptorImpl<A> constraintDescriptor,
Class<?>... groups)
Perform the actual validation of a single
ConstraintValidator . |
Modifier and Type | Method and Description |
---|---|
GwtBeanDescriptorImpl.Builder<T> |
GwtBeanDescriptorImpl.Builder.add(ConstraintDescriptorImpl<? extends Annotation> constraintDescriptor) |
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 |
FunctionalInterface
Used to declare interfaces which must have a single abstract method.
|
interface |
Override
Indicates that a method definition is intended to override a declaration from
a superclass.
|
interface |
SafeVarargs
Claims to the compiler that the annotation target does nothing potentially unsafe
to its varargs argument.
|
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 | Class and Description |
---|---|
interface |
Documented
Annotation which indicates annotations should be documented by javadoc/etc [Sun
docs].
|
interface |
Inherited
Annotation which indicates an annotation type is automatically inherited [Sun
docs].
|
interface |
Native
Indicates that a field defining a constant value may be referenced from native code.
|
interface |
Repeatable
Indicates that the annotation type whose declaration it (meta-)annotates is repeatable.
|
interface |
Retention
Annotation which indicates how long annotations should be retained [Sun
doc].
|
interface |
Target
Annotation which indicates the kinds of program element to which an
annotation type is applicable [Sun
docs].
|
Modifier and Type | Field and Description |
---|---|
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
Annotation.annotationType() |
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType() |
Constructor and Description |
---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName) |
Modifier and Type | Class and Description |
---|---|
interface |
CompilerHint
An annotation to mark another annotation as a compiler hint.
|
interface |
DoNotAutobox
An annotation to prevent autoboxing of arguments on method calls.
|
interface |
DoNotInline
An annotation to mark a given method as not inlineable.
|
interface |
ForceInline
An annotation to mark a given method as not inlineable.
|
interface |
GwtIncompatible
A simple of a GwtIncompatible annotation for internal emulation use.
|
interface |
HasNoSideEffects
An annotation to mark a given method as side-effect free.
|
interface |
SpecializeMethod
An annotation to mark a given method as being specialized.
|
interface |
UncheckedCast
An annotation to mark a method as unchecked to prevent the compiler from inserting casts on
returns call sites due to erasure.
|
Modifier and Type | Class and Description |
---|---|
interface |
Pattern
The annotated String must match the following regular expression.
|
static interface |
Pattern.List
Defines several
@Pattern annotations on the same element |
Copyright © 2018. All rights reserved.