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

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTClassMethod
public class ASTClassMethod
Class specific AST Method
| Constructor Summary | |
|---|---|
ASTClassMethod(Method method,
ASTType returnType,
com.google.common.collect.ImmutableList<ASTParameter> parameters,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations,
com.google.common.collect.ImmutableList<ASTType> throwTypes)
|
|
| Method Summary | ||
|---|---|---|
ASTAccessModifier |
getAccessModifier()
Supplies the access modifier for this method. |
|
|
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 |
|
String |
getName()
Supplies the name of the current tree node |
|
List<ASTParameter> |
getParameters()
Supplies all parameters of this method |
|
ASTType |
getReturnType()
Supplies the return type of this method |
|
List<ASTType> |
getThrowsTypes()
Supplies all throws associated with this method |
|
boolean |
isAnnotated(Class<? extends Annotation> annotation)
Determines if the current element is annotated with the given annotation class |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASTClassMethod(Method method,
ASTType returnType,
com.google.common.collect.ImmutableList<ASTParameter> parameters,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations,
com.google.common.collect.ImmutableList<ASTType> throwTypes)
| Method Detail |
|---|
public <A extends Annotation> A getAnnotation(Class<A> annotation)
ASTBase
getAnnotation in interface ASTBaseA - annotation typeannotation - key
public boolean isAnnotated(Class<? extends Annotation> annotation)
ASTBase
isAnnotated in interface ASTBaseannotation - key
public String getName()
ASTBase
getName in interface ASTBasepublic List<ASTParameter> getParameters()
ASTMethod
getParameters in interface ASTMethodpublic ASTType getReturnType()
ASTMethod
getReturnType in interface ASTMethodpublic Collection<ASTAnnotation> getAnnotations()
ASTBase
getAnnotations in interface ASTBasepublic ASTAccessModifier getAccessModifier()
ASTMethod
getAccessModifier in interface ASTMethodpublic List<ASTType> getThrowsTypes()
ASTMethod
getThrowsTypes in interface ASTMethodpublic ASTAnnotation getASTAnnotation(Class annotation)
ASTBase
getASTAnnotation in interface ASTBaseannotation - type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||