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

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTElementBase
org.androidtransfuse.analysis.adapter.ASTElementType
public class ASTElementType
Element specific AST Type
| Constructor Summary | |
|---|---|
ASTElementType(TypeElement typeElement,
com.google.common.collect.ImmutableCollection<ASTConstructor> constructors,
com.google.common.collect.ImmutableCollection<ASTMethod> methods,
com.google.common.collect.ImmutableCollection<ASTField> fields,
ASTType superClass,
com.google.common.collect.ImmutableCollection<ASTType> interfaces,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
boolean |
extendsFrom(ASTType type)
Determines if the current type extends from the given type. |
ASTAnnotation |
getASTAnnotation(Class annotation)
Getter for the AST Annotation associated with the given annotation type |
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 |
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 |
int |
hashCode()
|
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 |
isArray()
Determines if this type is an array type |
boolean |
isConcreteClass()
Determines if the given AST type represents a concrete class |
String |
toString()
|
| Methods inherited from class org.androidtransfuse.analysis.adapter.ASTElementBase |
|---|
getAnnotation, getAnnotations, isAnnotated |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.androidtransfuse.analysis.adapter.ASTBase |
|---|
getAnnotation, getAnnotations, isAnnotated |
| Constructor Detail |
|---|
public ASTElementType(TypeElement typeElement,
com.google.common.collect.ImmutableCollection<ASTConstructor> constructors,
com.google.common.collect.ImmutableCollection<ASTMethod> methods,
com.google.common.collect.ImmutableCollection<ASTField> fields,
ASTType superClass,
com.google.common.collect.ImmutableCollection<ASTType> interfaces,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations)
| Method Detail |
|---|
public String getName()
ASTBase
getName in interface ASTBasegetName in class ASTElementBasepublic 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 boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic 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 ASTAnnotation getASTAnnotation(Class annotation)
ASTBase
getASTAnnotation in interface ASTBasegetASTAnnotation in class ASTElementBaseannotation - type
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||