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

java.lang.Objectorg.androidtransfuse.analysis.adapter.ASTClassConstructor
public class ASTClassConstructor
Class specific AST Constructor
| Constructor Summary | |
|---|---|
ASTClassConstructor(com.google.common.collect.ImmutableList<ASTAnnotation> annotations,
Constructor<?> constructor,
com.google.common.collect.ImmutableList<ASTParameter> parameters,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableList<ASTType> throwsTypes)
|
|
| Method Summary | ||
|---|---|---|
ASTAccessModifier |
getAccessModifier()
Access modifier for the constructor |
|
|
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 the contained constructor parameters |
|
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 ASTClassConstructor(com.google.common.collect.ImmutableList<ASTAnnotation> annotations,
Constructor<?> constructor,
com.google.common.collect.ImmutableList<ASTParameter> parameters,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableList<ASTType> throwsTypes)
| Method Detail |
|---|
public boolean isAnnotated(Class<? extends Annotation> annotation)
ASTBase
isAnnotated in interface ASTBaseannotation - key
public <A extends Annotation> A getAnnotation(Class<A> annotation)
ASTBase
getAnnotation in interface ASTBaseA - annotation typeannotation - key
public List<ASTParameter> getParameters()
ASTConstructor
getParameters in interface ASTConstructorpublic String getName()
ASTBase
getName in interface ASTBasepublic Collection<ASTAnnotation> getAnnotations()
ASTBase
getAnnotations in interface ASTBasepublic ASTAccessModifier getAccessModifier()
ASTConstructor
getAccessModifier in interface ASTConstructorpublic List<ASTType> getThrowsTypes()
ASTConstructor
getThrowsTypes in interface ASTConstructorpublic 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 | |||||||||