Modifier and Type | Method and Description |
---|---|
static <T> T |
GWT.create(Class<?> classLiteral)
Instantiates a class via deferred binding.
|
static void |
GWT.runAsync(Class<?> name,
RunAsyncCallback callback)
The same as
GWT.runAsync(RunAsyncCallback) , except with an extra
parameter to provide a name for the call. |
Modifier and Type | Method and Description |
---|---|
static RunAsyncCode |
RunAsyncCode.runAsyncCode(Class<?> splitPoint)
Create an instance for the split point named with the given class.
|
Modifier and Type | Method and Description |
---|---|
static Object |
JsoEval.call(Class klass,
Object obj,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a method on a JavaScriptObject.
|
static Object |
JsoEval.call(Class klass,
Object obj,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a method on a JavaScriptObject.
|
static Object |
JsoEval.call(Class klass,
Object obj,
String methodName,
Object... args)
A convenience form of
JsoEval.call(Class, Object, String, Class[], Object...) for use directly
by users in a debugger. |
static Object |
JsoEval.callEx(Class klass,
Object obj,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a method on a JavaScriptObject.
|
static Object |
JsoEval.callEx(Class klass,
Object obj,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a method on a JavaScriptObject.
|
static Object |
JsoEval.callEx(Class klass,
Object obj,
String methodName,
Object... args)
A convenience form of
JsoEval.call(Class, Object, String, Class[], Object...) for use directly
by users in a debugger. |
static Object |
JsoEval.callStatic(Class klass,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a static method on a JavaScriptObject.
|
static Object |
JsoEval.callStatic(Class klass,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a static method on a JavaScriptObject.
|
static Object |
JsoEval.callStaticEx(Class klass,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a static method on a JavaScriptObject.
|
static Object |
JsoEval.callStaticEx(Class klass,
String methodName,
Class[] types,
Object... args)
Reflectively invokes a static method on a JavaScriptObject.
|
Modifier and Type | Method and Description |
---|---|
protected Class<StylesheetReference> |
StylesheetReference.getComparableArtifactType() |
protected Class<PrecompilationMetricsArtifact> |
PrecompilationMetricsArtifact.getComparableArtifactType() |
protected Class<ModuleMetricsArtifact> |
ModuleMetricsArtifact.getComparableArtifactType() |
protected abstract Class<C> |
Artifact.getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
protected Class<CompilationMetricsArtifact> |
CompilationMetricsArtifact.getComparableArtifactType() |
protected Class<ScriptReference> |
ScriptReference.getComparableArtifactType() |
protected Class<EmittedArtifact> |
EmittedArtifact.getComparableArtifactType() |
protected Class<CompilationResult> |
CompilationResult.getComparableArtifactType() |
Class<? extends Linker> |
Artifact.getLinker()
Returns the Linker that created the Artifact.
|
Modifier and Type | Method and Description |
---|---|
<T extends Artifact<? super T>> |
ArtifactSet.find(Class<T> artifactType)
Find all Artifacts assignable to some base type.
|
Constructor and Description |
---|
Artifact(Class<? extends Linker> linker)
Constructor.
|
CompilationMetricsArtifact(Class<? extends Linker> linker,
int permutationId) |
CompilationResult(Class<? extends Linker> linkerType) |
DelegatingCompilationResult(Class<? extends Linker> linkerType,
CompilationResult compilationResult) |
EmittedArtifact(Class<? extends Linker> linker,
String partialPath) |
GeneratedResource(Class<? extends Linker> linkerType,
String partialPath) |
ModuleMetricsArtifact(Class<? extends Linker> linker,
int instanceId) |
PrecompilationMetricsArtifact(Class<? extends Linker> linker,
int permutationBase) |
PublicResource(Class<? extends Linker> linkerType,
String partialPath) |
ScriptReference(Class<? extends Linker> linkerType,
String src,
int index) |
StylesheetReference(Class<? extends Linker> linkerType,
String src,
int index) |
SyntheticArtifact(Class<? extends Linker> linkerType,
String partialPath,
byte[] data) |
SyntheticArtifact(Class<? extends Linker> linkerType,
String partialPath,
byte[] data,
long lastModified) |
Modifier and Type | Method and Description |
---|---|
Class<PropertiesMappingArtifact> |
PropertiesMappingArtifact.getComparableArtifactType() |
protected Class<SelectionInformation> |
SelectionInformation.getComparableArtifactType() |
Modifier and Type | Method and Description |
---|---|
String |
StandardLinkerContext.getExtraPathForLinker(Class<? extends Linker> linkerType,
String partialPath)
Return the full path for an artifact produced by
linkertype
that has the specified partial path. |
Constructor and Description |
---|
PropertiesMappingArtifact(Class<? extends Linker> linker,
Map<PermutationsUtil.PermutationId,List<Map<String,String>>> mappings) |
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. |
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 |
---|---|
protected Class<SymbolMapsLinker.ScriptFragmentEditsArtifact> |
SymbolMapsLinker.ScriptFragmentEditsArtifact.getComparableArtifactType() |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServerGwtBridge.create(Class<?> classLiteral) |
<T> T |
ServerGwtBridge.ClassInstantiator.create(Class<?> baseClass,
ServerGwtBridge.Properties properties)
Create an instance given a base class.
|
void |
ServerGwtBridge.register(Class<?> baseClass,
ServerGwtBridge.ClassInstantiator instantiator)
Register an instantiator to be used for any subtypes of a given base class.
|
protected <T> T |
ServerGwtBridge.ClassInstantiatorBase.tryCreate(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
GWT.create(Class<?> classLiteral)
Instantiates a class via deferred binding.
|
abstract <T> T |
GWTBridge.create(Class<?> classLiteral) |
static <T> T |
GWT.createImpl(Class<?> classLiteral)
Instantiates a class via deferred binding.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Linker> |
ModuleDef.getActivePrimaryLinker() |
Class<? extends Linker> |
ModuleDef.getLinker(String name) |
Class<? extends PropertyProviderGenerator> |
BindingProperty.getProviderGenerator() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends Linker>> |
ModuleDef.getActiveLinkers() |
Map<String,Class<? extends Linker>> |
ModuleDef.getLinkers() |
Modifier and Type | Method and Description |
---|---|
void |
ModuleDef.defineLinker(TreeLogger logger,
String name,
Class<? extends Linker> linker)
Associate a Linker class with a symbolic name.
|
static Set<String> |
RuleGenerateWith.getAccessedPropertyNames(Class<? extends Generator> generatorClass)
Returns a Set of the names of properties that will be accessed by the given Generator.
|
void |
BindingProperty.setProviderGenerator(Class<? extends PropertyProviderGenerator> generator)
Set a provider generator for this property.
|
Constructor and Description |
---|
RuleGenerateWith(Class<? extends Generator> generatorClass) |
Modifier and Type | Method and Description |
---|---|
static Class |
CompilationUnitTypeOracleUpdater.forName(String name) |
Modifier and Type | Method and Description |
---|---|
String |
StandardGeneratorContext.runGenerator(TreeLogger logger,
Class<? extends Generator> generatorClass,
String typeName)
This method is maintained for backwards compatibility.
|
RebindResult |
StandardGeneratorContext.runGeneratorIncrementally(TreeLogger logger,
Class<? extends Generator> generatorClass,
String typeName)
Runs a generator incrementally, with support for managing the returned
RebindResult object, which can contain cached results. |
void |
StandardGeneratorContext.setCurrentGenerator(Class<? extends Generator> currentGenerator) |
Modifier and Type | Method and Description |
---|---|
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) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
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 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 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 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) |
Modifier and Type | Method and Description |
---|---|
SourceInfo |
JsProgram.createSourceInfoSynthetic(Class<?> caller) |
Modifier and Type | Method and Description |
---|---|
Object |
IRFactory.createAssignment(int nodeOp,
Node left,
Node right,
Class convert,
boolean postfix) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
CompilingClassLoader.findClass(String className) |
Class<?> |
MethodAdaptor.getDeclaringClass() |
Class<?> |
SyntheticClassMember.getDeclaringClass() |
Class<?>[] |
MethodAdaptor.getParameterTypes() |
Class<?> |
MethodAdaptor.getReturnType() |
protected Class<?> |
CompilingClassLoader.loadClass(String name,
boolean resolve)
Remove some of the excess locking that we'd normally inherit from loadClass.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
GWTBridgeImpl.create(Class<?> requestedClass)
Resolves a deferred binding request and create the requested object.
|
protected abstract JsValue |
ModuleSpace.doInvoke(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invokes a native JavaScript function.
|
protected JsValue |
ModuleSpaceOOPHM.doInvoke(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a JS method and return its value.
|
static <T> T |
JsValueGlue.get(JsValue value,
CompilingClassLoader cl,
Class<T> type,
String msgPrefix)
Return an object containing the value JavaScript object as a specified
type.
|
protected JsValue |
ModuleSpace.invokeNative(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invokes a native JavaScript function.
|
boolean |
ModuleSpace.invokeNativeBoolean(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static boolean |
JavaScriptHost.invokeNativeBoolean(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a boolean value.
|
boolean |
ShellJavaScriptHost.invokeNativeBoolean(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a boolean value.
|
byte |
ModuleSpace.invokeNativeByte(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static byte |
JavaScriptHost.invokeNativeByte(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a byte value.
|
byte |
ShellJavaScriptHost.invokeNativeByte(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a byte value.
|
char |
ModuleSpace.invokeNativeChar(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static char |
JavaScriptHost.invokeNativeChar(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a character value.
|
char |
ShellJavaScriptHost.invokeNativeChar(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a character value.
|
double |
ModuleSpace.invokeNativeDouble(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static double |
JavaScriptHost.invokeNativeDouble(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a double value.
|
double |
ShellJavaScriptHost.invokeNativeDouble(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a double value.
|
float |
ModuleSpace.invokeNativeFloat(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static float |
JavaScriptHost.invokeNativeFloat(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a float value.
|
float |
ShellJavaScriptHost.invokeNativeFloat(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a float value.
|
int |
ModuleSpace.invokeNativeInt(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static int |
JavaScriptHost.invokeNativeInt(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns an integer value.
|
int |
ShellJavaScriptHost.invokeNativeInt(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns an integer value.
|
long |
ModuleSpace.invokeNativeLong(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static long |
JavaScriptHost.invokeNativeLong(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a long value.
|
long |
ShellJavaScriptHost.invokeNativeLong(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a long value.
|
Object |
ModuleSpace.invokeNativeObject(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static Object |
JavaScriptHost.invokeNativeObject(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns an object value.
|
Object |
ShellJavaScriptHost.invokeNativeObject(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns an object value.
|
short |
ModuleSpace.invokeNativeShort(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static short |
JavaScriptHost.invokeNativeShort(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a short value.
|
short |
ShellJavaScriptHost.invokeNativeShort(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns a short value.
|
void |
ModuleSpace.invokeNativeVoid(String name,
Object jthis,
Class<?>[] types,
Object[] args) |
static void |
JavaScriptHost.invokeNativeVoid(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns no value.
|
void |
ShellJavaScriptHost.invokeNativeVoid(String name,
Object jthis,
Class<?>[] types,
Object[] args)
Invoke a native JavaScript function that returns no value.
|
static void |
JsValueGlue.set(JsValue value,
CompilingClassLoader cl,
Class<?> type,
Object obj)
Set the underlying value.
|
Constructor and Description |
---|
DispatchClassInfo(Class<?> cls,
int classId) |
SyntheticClassMember(Class<?> clazz) |
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 | Field and Description |
---|---|
static Class<?>[] |
Empty.CLASSES |
Modifier and Type | Method and Description |
---|---|
static String |
Name.getBinaryNameForClass(Class<?> clazz)
Get the binary name for a Java class.
|
static String |
Name.getInternalNameForClass(Class<?> clazz)
Get the internal name for a Java class.
|
static String |
Name.getSourceNameForClass(Class<?> clazz)
Get the source name for a Java class.
|
static String |
TypeInfo.getSourceRepresentation(Class<?> type) |
static <T extends Serializable> |
Util.readFileAsObject(File file,
Class<T> type) |
<T> T |
DiskCacheToken.readObject(Class<T> type)
Deserialize the underlying bytes as an object.
|
<T> T |
DiskCache.readObject(long token,
Class<T> type)
Deserialize the underlying bytes as an object.
|
static <T> T |
Util.readStreamAsObject(InputStream inputStream,
Class<T> type) |
static <T> T[] |
Util.toArray(Class<? super T> componentType,
Collection<? extends T> coll)
Creates an array from a collection of the specified component type and
size.
|
Constructor and Description |
---|
FileBackedObject(Class<T> clazz)
Constructs an empty FileBackedObject.
|
FileBackedObject(Class<T> clazz,
File backingFile)
Constructs a FileBackedObject using an existing File object.
|
MemoryBackedObject(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
protected Formatter |
Message.getFormatter(Class<?> c) |
void |
Message3IntStringClass.log(TreeLogger logger,
int x,
String s,
Class<?> c,
Throwable caught) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
HandlerParam.getParamType() |
Modifier and Type | Method and Description |
---|---|
AttributeConverter |
Schema.getAttributeConverter(Class<?> type)
Finds the most recent converter in the schema chain that can convert the
specified type.
|
static HandlerClassInfo |
HandlerClassInfo.getClassInfo(Class<?> c) |
void |
Schema.onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType) |
void |
DefaultSchema.onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType) |
void |
Schema.registerAttributeConverter(Class<?> type,
AttributeConverter converter) |
static void |
HandlerClassInfo.registerClass(Class<?> c) |
static void |
ReflectiveParser.registerSchemaLevel(Class<? extends Schema> schemaLevelClass)
Can safely register the same class recursively.
|
Modifier and Type | Method and Description |
---|---|
Class<T> |
EditorContext.getEditedType()
Returns the
T type. |
Modifier and Type | Method and Description |
---|---|
Class<T> |
RootEditorContext.getEditedType() |
abstract Class<T> |
AbstractEditorContext.getEditedType() |
Modifier and Type | Method and Description |
---|---|
protected <R,S extends Editor<R>> |
AbstractEditorDelegate.createChain(Class<R> composedElementType) |
Constructor and Description |
---|
RootEditorContext(AbstractEditorDelegate<T,?> editorDelegate,
Class<T> editedType,
T value) |
Modifier and Type | Method and Description |
---|---|
Class<T> |
FakeEditorContext.getEditedType()
Returns
null . |
Modifier and Type | Field and Description |
---|---|
static Class<?>[] |
MessageUtils.SELECTOR_ANOTATIONS |
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.
|
static PluralRule |
AbstractParameter.getLocalizedPluralRule(Class<? extends PluralRule> pluralClass,
GwtLocale locale)
Instantiate a plural rule class.
|
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) |
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) |
boolean |
ReflectionMessageInterface.isAnnotationPresent(Class<? extends Annotation> annotClass) |
boolean |
ReflectionMessage.isAnnotationPresent(Class<? extends Annotation> annotClass) |
Constructor and Description |
---|
ReflectionMessageInterface(GwtLocaleFactory factory,
Class<? extends LocalizableResource> msgIntf) |
Modifier and Type | Method and Description |
---|---|
static void |
I18NSync.createInterfaceFromClassName(String className,
File sourceDir,
Class<? extends Localizable> interfaceType)
Creates one of a Messages, ConstantsWithLookup, or Constants subclass.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Array.initMultidimensionalArray(Class<?> leafClassLiteral,
JavaScriptObject[] castableTypeMapExprs,
JavaScriptObject[] elementTypeIds,
int leafElementTypeCategory,
int[] dimExprs,
int count)
Creates an array like "new T[a][b][c][][]" by passing in a native JSON
array, [a, b, c].
|
static Object |
Array.initUnidimensionalArray(Class<?> leafClassLiteral,
JavaScriptObject castableTypeMap,
JavaScriptObject elementTypeId,
int length,
int elementTypeCategory,
int dimensions)
Creates an array like "new T[a][b][c][][]" by passing in a native JSON
array, [a, b, c].
|
static Object |
Array.stampJavaTypeInfo(Class<?> arrayClass,
JavaScriptObject castableTypeMap,
JavaScriptObject elementTypeId,
int elementTypeCategory,
Object array)
Creates an array like "new T[][]{a,b,c,d}" by passing in a native JSON
array, [a, b, c, d].
|
Modifier and Type | Method and Description |
---|---|
static <T extends CssNode> |
CssNodeCloner.clone(Class<T> clazz,
List<T> nodes)
Clone a list of nodes.
|
static <T extends CssNode> |
CssNodeCloner.clone(Class<T> clazz,
T node)
Clone a single node.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ResourceContext.getCachedData(String key,
Class<T> clazz)
Retrieve data from the ResourceContext.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
ReflectionHelper.loadClass(String klass)
Loads
klass using Class.forName. |
Modifier and Type | Method and Description |
---|---|
static Object |
ReflectionHelper.getField(Class<?> klass,
Object obj,
String name)
Gets the value of a field.
|
String |
Serializer.getSerializationSignature(Class<?> clazz)
Return the serialization signature for the given type.
|
String |
SerializerBase.getSerializationSignature(Class<?> clazz) |
static <T> T |
ReflectionHelper.newInstance(Class<T> klass)
Creates a new instance of
klass . |
static void |
ReflectionHelper.setField(Class<?> klass,
Object obj,
String name,
Object value)
Sets the value of a field.
|
Modifier and Type | Method and Description |
---|---|
protected Class<RpcLogArtifact> |
RpcLogArtifact.getComparableArtifactType() |
protected Class<RpcPolicyFileArtifact> |
RpcPolicyFileArtifact.getComparableArtifactType() |
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.
|
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.
|
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.
|
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 | Method and Description |
---|---|
static RPCRequest |
RPC.decodeRequest(String encodedRequest,
Class<?> type)
Returns an
RPCRequest that is built by decoding the contents of an
encoded RPC request and optionally validating that type can handle the
request. |
static RPCRequest |
RPC.decodeRequest(String encodedRequest,
Class<?> type,
SerializationPolicyProvider serializationPolicyProvider)
Returns an
RPCRequest that is built by decoding the contents of an
encoded RPC request and optionally validating that type can handle the
request. |
Set<String> |
SerializationPolicy.getClientFieldNamesForEnhancedClass(Class<?> clazz)
Returns the field names of the given class known to the client for classes
that are expected to be enhanced on the server to have additional fields,
or null for classes that are not expected to be enhanced.
|
abstract boolean |
SerializationPolicy.shouldDeserializeFields(Class<?> clazz)
Returns
true if the class' fields should be deserialized. |
abstract boolean |
SerializationPolicy.shouldSerializeFields(Class<?> clazz)
Returns
true if the class' fields should be serialized. |
abstract void |
SerializationPolicy.validateDeserialize(Class<?> clazz)
Validates that the specified class should be deserialized from a stream.
|
abstract void |
SerializationPolicy.validateSerialize(Class<?> clazz)
Validates that the specified class should be serialized into a stream.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
SerializabilityUtil.getClassFromType(Type type,
DequeMap<TypeVariable<?>,Type> resolvedTypes)
Find the Class that a given type refers to.
|
static Class<?> |
SerializabilityUtil.hasCustomFieldSerializer(Class<?> instanceType)
Returns the
Class which can serialize the given instance type, or
null if this class has no custom field serializer. |
static Class<?> |
SerializabilityUtil.hasServerCustomFieldSerializer(Class<?> instanceType)
Returns the server-side
Class which can serialize the given
instance type, or null if this class has no type-checking
custom field serializer. |
Modifier and Type | Method and Description |
---|---|
static Field[] |
SerializabilityUtil.applyFieldSerializationPolicy(Class<?> clazz)
Deprecated.
|
static Field[] |
SerializabilityUtil.applyFieldSerializationPolicy(Class<?> clazz,
SerializationPolicy policy)
Returns the fields of a particular class that can be considered for
serialization.
|
Object |
ServerSerializationStreamReader.deserializeValue(Class<?> rpcType) |
Object |
ServerSerializationStreamReader.deserializeValue(Class<?> rpcType,
Type methodType,
DequeMap<TypeVariable<?>,Type> resolvedTypes) |
static String |
SerializabilityUtil.encodeSerializedInstanceReference(Class<?> instanceType,
SerializationPolicy policy) |
static Type[] |
SerializabilityUtil.findExpectedParameterTypes(Class<?> instanceClass,
Type expectedType,
DequeMap<TypeVariable<?>,Type> resolvedTypes)
Determine the expected types for any instance type parameters.
|
Set<String> |
StandardSerializationPolicy.getClientFieldNamesForEnhancedClass(Class<?> clazz) |
static String |
SerializabilityUtil.getSerializationSignature(Class<?> instanceType,
SerializationPolicy policy) |
static String |
SerializabilityUtil.getSerializedTypeName(Class<?> instanceType) |
String |
TypeNameObfuscator.getTypeIdForClass(Class<?> clazz)
Returns the obfuscated identifier to be used to encode a class in the RPC
wire format.
|
String |
StandardSerializationPolicy.getTypeIdForClass(Class<?> clazz) |
String |
LegacySerializationPolicy.getTypeIdForClass(Class<?> clazz)
Implemented to fail with a useful error message.
|
static Class<?> |
SerializabilityUtil.hasCustomFieldSerializer(Class<?> instanceType)
Returns the
Class which can serialize the given instance type, or
null if this class has no custom field serializer. |
static Class<?> |
SerializabilityUtil.hasServerCustomFieldSerializer(Class<?> instanceType)
Returns the server-side
Class which can serialize the given
instance type, or null if this class has no type-checking
custom field serializer. |
void |
ServerSerializationStreamWriter.serializeValue(Object value,
Class<?> type) |
boolean |
StandardSerializationPolicy.shouldDeserializeFields(Class<?> clazz) |
boolean |
LegacySerializationPolicy.shouldDeserializeFields(Class<?> clazz) |
boolean |
StandardSerializationPolicy.shouldSerializeFields(Class<?> clazz) |
boolean |
LegacySerializationPolicy.shouldSerializeFields(Class<?> clazz) |
void |
StandardSerializationPolicy.validateDeserialize(Class<?> clazz) |
void |
LegacySerializationPolicy.validateDeserialize(Class<?> clazz) |
void |
StandardSerializationPolicy.validateSerialize(Class<?> clazz) |
void |
LegacySerializationPolicy.validateSerialize(Class<?> clazz) |
Constructor and Description |
---|
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields,
boolean shouldSerializeFinalFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields,
boolean shouldSerializeFinalFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields,
boolean shouldSerializeFinalFields)
Constructs a
SerializationPolicy from several Map s. |
StandardSerializationPolicy(Map<Class<?>,Boolean> serializationWhitelist,
Map<Class<?>,Boolean> deserializationWhitelist,
Map<Class<?>,String> obfuscatedTypeIds,
Map<Class<?>,Set<String>> clientFields,
boolean shouldSerializeFinalFields)
Constructs a
SerializationPolicy from several Map s. |
Constructor and Description |
---|
ArgHandlerEnum(Class<T> optionsEnumClass)
Constructor, default value must be handled by the user code.
|
ArgHandlerEnum(Class<T> optionsEnumClass,
T defaultValue,
boolean allowAbbreviation)
Constructor, allows to specify the default value for the option and whether to accept or
prefixes as abbreviations.
|
Modifier and Type | Method and Description |
---|---|
<T extends javax.validation.ConstraintValidator<?,?>> |
GwtConstraintValidatorFactory.getInstance(Class<T> key)
Always throws
UnsupportedOperationException . |
boolean |
DefaultTraversableResolver.isCascadable(Object traversableObject,
javax.validation.Path.Node traversableProperty,
Class<?> rootBeanType,
javax.validation.Path pathToTraversableObject,
ElementType elementType) |
boolean |
DefaultTraversableResolver.isReachable(Object traversableObject,
javax.validation.Path.Node traversableProperty,
Class<?> rootBeanType,
javax.validation.Path pathToTraversableObject,
ElementType elementType) |
<T> T |
AbstractGwtValidatorFactory.unwrap(Class<T> type)
Unsupported.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
PropertyDescriptorImpl.getElementClass() |
Class<?> |
GwtBeanDescriptorImpl.getElementClass() |
Class<?> |
Group.getGroup() |
Class<T> |
GwtValidationContext.getRootBeanClass() |
Class<T> |
ConstraintViolationImpl.getRootBeanClass() |
Class<?> |
Group.getSequence() |
protected static Class<?>[] |
AbstractGwtSpecificValidator.groupsToClasses(Group... groups) |
Modifier and Type | Method and Description |
---|---|
protected List<Class<?>> |
AbstractGwtSpecificValidator.addDefaultGroupWhenEmpty(List<Class<?>> groups) |
List<Class<? extends javax.validation.ConstraintValidator<T,?>>> |
ConstraintDescriptorImpl.getConstraintValidatorClasses() |
Set<Class<?>> |
ConstraintDescriptorImpl.getGroups() |
Set<Class<? extends javax.validation.Payload>> |
ConstraintDescriptorImpl.getPayload() |
Modifier and Type | Method and Description |
---|---|
static <T> GwtBeanDescriptorImpl.Builder<T> |
GwtBeanDescriptorImpl.builder(Class<T> clazz) |
static <T extends Configuration<T>,U extends javax.validation.spi.ValidationProvider<T>> |
Validation.byProvider(Class<U> providerType)
Unsupported.
|
protected void |
AbstractGwtValidator.checkGroups(Class<?>... groups) |
<T> void |
GwtSpecificValidator.expandDefaultAndValidateValueGroups(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Set<javax.validation.ConstraintViolation<T>> violations,
Group... groups)
Helper method used to first expand the Default group sequence and then
perform validation of a bean using the specific group(s).
|
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setConstraintValidatorClasses(Class<? extends javax.validation.ConstraintValidator<T,?>>[] constraintValidatorClasses) |
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setGroups(Class<?>[] classes) |
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setPayload(Class<? extends javax.validation.Payload>[] classes) |
ConstraintViolationImpl.Builder<T> |
ConstraintViolationImpl.Builder.setRootBeanClass(Class<T> rootBeanClass) |
javax.validation.metadata.ElementDescriptor.ConstraintFinder |
ConstraintFinderImpl.unorderedAndMatchingGroups(Class<?>... groups) |
<T> T |
AbstractGwtValidator.unwrap(Class<T> type) |
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validate(GwtValidationContext<T> context,
G object,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validate(GwtValidationContext<T> context,
G object,
Class<?>... groups)
Validates all constraints on
object . |
abstract <T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtValidator.validate(GwtValidationContext<T> context,
Object object,
Class<?>... groups) |
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 . |
<T> void |
GwtSpecificValidator.validateClassGroups(GwtValidationContext<T> context,
G object,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a bean using specific group(s).
|
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validateProperty(GwtValidationContext<T> context,
G object,
String propertyName,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validateProperty(GwtValidationContext<T> context,
G object,
String propertyName,
Class<?>... groups)
Validates all constraints placed on the property of
object
named propertyName . |
<T> void |
GwtSpecificValidator.validatePropertyGroups(GwtValidationContext<T> context,
G object,
String propertyName,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a bean property using specific group(s).
|
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
AbstractGwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups) |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups)
Validates all constraints placed on the property named
propertyName of the class beanType where the
property value is value . |
<T> Set<javax.validation.ConstraintViolation<T>> |
GwtSpecificValidator.validateValue(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Class<?>... groups)
Validates all constraints placed on the property named
propertyName of the class beanType where the
property value is value . |
<T> void |
GwtSpecificValidator.validateValueGroups(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a class property with a specified value
using specific group(s).
|
<T> void |
GwtSpecificValidator.validateValueGroups(GwtValidationContext<T> context,
Class<G> beanType,
String propertyName,
Object value,
Set<javax.validation.ConstraintViolation<T>> violations,
Class<?>... groups)
Helper method used to perform validation of a class property with a specified value
using specific group(s).
|
Modifier and Type | Method and Description |
---|---|
protected List<Class<?>> |
AbstractGwtSpecificValidator.addDefaultGroupWhenEmpty(List<Class<?>> groups) |
void |
GroupChain.checkDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) |
GroupChain |
GroupChainGenerator.getGroupChainFor(Collection<Class<?>> groups)
Generates a chain of groups to be validated given the specified validation groups.
|
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setConstraintValidatorClasses(List<Class<? extends javax.validation.ConstraintValidator<T,?>>> constraintValidatorClasses) |
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setGroups(Set<Class<?>> groups) |
ConstraintDescriptorImpl.Builder<T> |
ConstraintDescriptorImpl.Builder.setPayload(Set<Class<? extends javax.validation.Payload>> payload) |
Constructor and Description |
---|
Group(Class<?> group)
Creates a group that is not part of a sequence with no parents.
|
Group(Class<?> group,
Class<?> sequence)
Creates a group that is part of a sequence with no parents.
|
Group(Class<?> group,
Class<?> sequence)
Creates a group that is part of a sequence with no parents.
|
GwtValidationContext(Class<T> rootBeanClass,
T rootBean,
javax.validation.metadata.BeanDescriptor beanDescriptor,
MessageInterpolator messageInterpolator,
javax.validation.TraversableResolver traversableResolver,
AbstractGwtValidator validator) |
PropertyDescriptorImpl(String name,
Class<?> elementClass,
boolean cascaded,
BeanMetadata parentBeanMetadata,
ConstraintDescriptorImpl<?>... descriptors) |
PropertyDescriptorImpl(String name,
Class<?> elementClass,
boolean cascaded,
BeanMetadata parentBeanMetadata,
ValidationGroupsMetadata validationGroupsMetadata,
ConstraintDescriptorImpl<?>... descriptors) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
BeanMetadata.getBeanClass() |
Modifier and Type | Method and Description |
---|---|
Set<Class<?>> |
ValidationGroupsMetadata.findAllExtendedGroups(Collection<Class<?>> baseGroups)
Finds all of the validation groups extended by an intial set of groups.
|
Set<Class<?>> |
ValidationGroupsMetadata.getAllGroupsAndSequences()
Recursively gets all of the groups and sequence groups in the map (children and parents alike)
in one flat set.
|
List<Class<?>> |
BeanMetadata.getDefaultGroupSequence() |
Set<Class<?>> |
ValidationGroupsMetadata.getGroupSequences()
Returns all the known group sequence classes.
|
Set<Class<?>> |
ValidationGroupsMetadata.getParentsOfGroup(Class<?> group)
If the group has been added to the map then its parent groups (of one level above) are
retrieved.
|
Set<Class<?>> |
ValidationGroupsMetadata.getRootGroups()
Returns all of the groups added to the map (but not their parents).
|
List<Class<?>> |
ValidationGroupsMetadata.getSequenceList(Class<?> sequence)
If the sequence class has been added to the map then the actual sequence list is retrieved.
|
Modifier and Type | Method and Description |
---|---|
ValidationGroupsMetadata.Builder |
ValidationGroupsMetadata.Builder.addGroup(Class<?> group,
Class<?>... parents)
Adds a group to the inheritance map.
|
ValidationGroupsMetadata.Builder |
ValidationGroupsMetadata.Builder.addGroup(Class<?> group,
Class<?>... parents)
Adds a group to the inheritance map.
|
ValidationGroupsMetadata.Builder |
ValidationGroupsMetadata.Builder.addSequence(Class<?> groupSequence,
Class<?>... sequenceGroups)
Adds a group sequence to the sequence map.
|
ValidationGroupsMetadata.Builder |
ValidationGroupsMetadata.Builder.addSequence(Class<?> groupSequence,
Class<?>... sequenceGroups)
Adds a group sequence to the sequence map.
|
boolean |
ValidationGroupsMetadata.containsGroup(Class<?> group)
Checks if a given group has been added to the inheritance map.
|
Set<Class<?>> |
ValidationGroupsMetadata.getParentsOfGroup(Class<?> group)
If the group has been added to the map then its parent groups (of one level above) are
retrieved.
|
List<Class<?>> |
ValidationGroupsMetadata.getSequenceList(Class<?> sequence)
If the sequence class has been added to the map then the actual sequence list is retrieved.
|
boolean |
ValidationGroupsMetadata.hasParents(Class<?> group)
Checks if a group extends other groups (has parents).
|
boolean |
ValidationGroupsMetadata.isSeqeuence(Class<?> sequence)
Checks if a given class is a group sequence map.
|
Modifier and Type | Method and Description |
---|---|
Set<Class<?>> |
ValidationGroupsMetadata.findAllExtendedGroups(Collection<Class<?>> baseGroups)
Finds all of the validation groups extended by an intial set of groups.
|
Constructor and Description |
---|
BeanMetadata(Class<?> beanClass,
Class<?>... defaultGroupSequence) |
BeanMetadata(Class<?> beanClass,
Class<?>... defaultGroupSequence) |
Modifier and Type | Field and Description |
---|---|
static Class<Void> |
Void.TYPE |
static Class<Long> |
Long.TYPE |
static Class<Short> |
Short.TYPE |
static Class<Boolean> |
Boolean.TYPE |
static Class<Character> |
Character.TYPE |
static Class<Byte> |
Byte.TYPE |
static Class<Float> |
Float.TYPE |
static Class<Integer> |
Integer.TYPE |
static Class<Double> |
Double.TYPE |
Modifier and Type | Method and Description |
---|---|
Class<? extends Object> |
Object.getClass() |
Class<?> |
Class.getComponentType() |
Class<E> |
Enum.getDeclaringClass() |
Class<? super T> |
Class.getSuperclass() |
Modifier and Type | Method and Description |
---|---|
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name) |
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 | Method and Description |
---|---|
static <E extends Enum<E>> |
EnumSet.allOf(Class<E> elementType) |
static <E extends Enum<E>> |
EnumSet.noneOf(Class<E> elementType) |
Constructor and Description |
---|
EnumMap(Class<K> type) |
Copyright © 2018. All rights reserved.