|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<ASTVoidType>
org.androidtransfuse.analysis.adapter.ASTVoidType
public enum ASTVoidType
Globally represents the VOID type
| Enum Constant Summary | |
|---|---|
VOID
|
|
| Method Summary | ||
|---|---|---|
boolean |
extendsFrom(ASTType type)
Determines if the current type extends from the given type. |
|
|
getAnnotation(Class<A> annotation)
Supplies the given annotation instance from the given annotation class key |
|
Collection<ASTAnnotation> |
getAnnotations()
Supplies the set of annotations |
|
ASTAnnotation |
getASTAnnotation(Class annotation)
Getter for the AST Annotation associated with the given annotation type |
|
Class |
getClazz()
|
|
Collection<ASTConstructor> |
getConstructors()
Supplies all available constructors |
|
Collection<ASTField> |
getFields()
Supplies all available fields |
|
List<ASTType> |
getGenericParameters()
Generates a list of the generic type parameters, if they are appropriate for the type and exist. |
|
Collection<ASTType> |
getInterfaces()
Supplies the list of implemented interfaces |
|
String |
getLabel()
|
|
Collection<ASTMethod> |
getMethods()
Supplies all available methods |
|
String |
getName()
Supplies the name of the current tree node |
|
ASTType |
getSuperClass()
Supplies the super class (by extension) of this type |
|
boolean |
implementsFrom(ASTType type)
Determines if the current type implements the given type. |
|
boolean |
inheritsFrom(ASTType type)
Determines if the current type inherits (extends or implements) from the given type. |
|
boolean |
isAnnotated(Class<? extends Annotation> annotation)
Determines if the current element is annotated with the given annotation class |
|
boolean |
isArray()
Determines if this type is an array type |
|
boolean |
isConcreteClass()
Determines if the given AST type represents a concrete class |
|
String |
toString()
|
|
static ASTVoidType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
static ASTVoidType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ASTVoidType VOID
| Method Detail |
|---|
public static ASTVoidType[] values()
for (ASTVoidType c : ASTVoidType.values()) System.out.println(c);
public static ASTVoidType 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 String getLabel()
public Class getClazz()
public Collection<ASTMethod> getMethods()
ASTType
getMethods in interface ASTTypepublic Collection<ASTField> getFields()
ASTType
getFields in interface ASTTypepublic Collection<ASTConstructor> getConstructors()
ASTType
getConstructors in interface ASTTypepublic boolean isConcreteClass()
ASTType
isConcreteClass in interface ASTTypepublic ASTType getSuperClass()
ASTType
getSuperClass in interface ASTTypepublic Collection<ASTType> getInterfaces()
ASTType
getInterfaces in interface ASTTypepublic boolean isArray()
ASTType
isArray in interface ASTTypepublic List<ASTType> getGenericParameters()
ASTType
getGenericParameters in interface ASTTypepublic boolean inheritsFrom(ASTType type)
ASTType
inheritsFrom in interface ASTTypetype - implementing from
public boolean extendsFrom(ASTType type)
ASTType
extendsFrom in interface ASTTypetype - implementing from
public boolean implementsFrom(ASTType type)
ASTType
implementsFrom in interface ASTTypetype - implementing from
public boolean isAnnotated(Class<? extends Annotation> annotation)
ASTBase
isAnnotated in interface ASTBaseannotation - key
public Collection<ASTAnnotation> getAnnotations()
ASTBase
getAnnotations in interface ASTBasepublic <A extends Annotation> A getAnnotation(Class<A> annotation)
ASTBase
getAnnotation in interface ASTBaseA - annotation typeannotation - key
public String getName()
ASTBase
getName in interface ASTBasepublic ASTAnnotation getASTAnnotation(Class annotation)
ASTBase
getASTAnnotation in interface ASTBaseannotation - type
public String toString()
toString in class Enum<ASTVoidType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||