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

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTMethodUniqueSignatureDecorator
public class ASTMethodUniqueSignatureDecorator
Class to decorate an ASTMethod with an equals and hashcode based on the method signature. This helps enforce uniqueness of a method on a class throughout the inheritance hierarchy.
| Constructor Summary | |
|---|---|
ASTMethodUniqueSignatureDecorator(ASTMethod method)
|
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object o)
|
|
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 |
|
int |
hashCode()
|
|
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASTMethodUniqueSignatureDecorator(ASTMethod method)
| Method Detail |
|---|
public List<ASTParameter> getParameters()
ASTMethod
getParameters in interface ASTMethodpublic ASTType getReturnType()
ASTMethod
getReturnType in interface ASTMethodpublic ASTAccessModifier getAccessModifier()
ASTMethod
getAccessModifier in interface ASTMethodpublic List<ASTType> getThrowsTypes()
ASTMethod
getThrowsTypes in interface ASTMethodpublic 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 ASTAnnotation getASTAnnotation(Class annotation)
ASTBase
getASTAnnotation in interface ASTBaseannotation - type
public String getName()
ASTBase
getName in interface ASTBasepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||