|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PrimitiveClass>
org.apache.commons.classscan.builtin.PrimitiveClass
public enum PrimitiveClass
| Enum Constant Summary | |
|---|---|
B
|
|
C
|
|
D
|
|
F
|
|
I
|
|
J
|
|
S
|
|
V
|
|
Z
|
|
| Method Summary | |
|---|---|
MetaAnnotation |
getAnnotation(String annotationName)
Get metadata about a particular annotation on the corresponding Class. |
Set<? extends MetaAnnotation> |
getAnnotations()
Get metadata about the annotations on the corresponding Class. |
MetaClassPathElement |
getClassLocation()
Get the ClassLocation from which the corresponding class came. |
Set<MetaField> |
getFields()
Get metadata about the corresponding Class's methods and constructors. |
Set<MetaClass> |
getInterfaces()
Get metadata about the interfaces which the corresponding Class implements. |
Set<MetaMethod> |
getMethods()
Get metadata about the corresponding Class's methods and constructors. |
String |
getName()
Get the canonical name of the corresponding Class. |
MetaClass |
getParent()
Get metadata about the corresponding Class's parent |
boolean |
isAssignableFrom(MetaClass assignor)
Is the associated Class assignable from the class associated with the given MetaClass. |
boolean |
resolve(SpiMetaClassLoader classLoader)
Resolve names into model entries |
static PrimitiveClass |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PrimitiveClass[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PrimitiveClass B
public static final PrimitiveClass C
public static final PrimitiveClass D
public static final PrimitiveClass F
public static final PrimitiveClass I
public static final PrimitiveClass J
public static final PrimitiveClass S
public static final PrimitiveClass Z
public static final PrimitiveClass V
| Method Detail |
|---|
public static PrimitiveClass[] values()
for (PrimitiveClass c : PrimitiveClass.values()) System.out.println(c);
public static PrimitiveClass valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic MetaClassPathElement getClassLocation()
MetaClass
getClassLocation in interface MetaClasspublic String getName()
MetaClass
getName in interface HasNamegetName in interface MetaClasspublic MetaClass getParent()
MetaClass
getParent in interface MetaClasspublic Set<MetaClass> getInterfaces()
MetaClass
getInterfaces in interface MetaClasspublic Set<? extends MetaAnnotation> getAnnotations()
MetaClass
getAnnotations in interface MetaClasspublic MetaAnnotation getAnnotation(String annotationName)
MetaClass
getAnnotation in interface MetaClassannotationName - The name of the annotation desired
public Set<MetaMethod> getMethods()
MetaClass
getMethods in interface MetaClasspublic Set<MetaField> getFields()
MetaClass
getFields in interface MetaClasspublic boolean isAssignableFrom(MetaClass assignor)
MetaClass
isAssignableFrom in interface MetaClassassignor - The non-null MetaClass (associated with class or interface)
public boolean resolve(SpiMetaClassLoader classLoader)
HasResolve
resolve in interface HasResolve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||