org.androidtransfuse.analysis.adapter
Class ASTElementAnnotation
java.lang.Object
org.androidtransfuse.analysis.adapter.ASTElementAnnotation
- All Implemented Interfaces:
- ASTAnnotation
public class ASTElementAnnotation
- extends Object
- implements ASTAnnotation
Element specific AST Annotation
- Author:
- John Ericksen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTElementAnnotation
@Inject
public ASTElementAnnotation(AnnotationMirror annotationMirror,
ASTType type,
ElementConverterFactory elementConverterFactory)
getProperty
public <T> T getProperty(String value,
Class<T> type)
- Description copied from interface:
ASTAnnotation
- Getter for a given annotation property
- Specified by:
getProperty in interface ASTAnnotation
- Returns:
- annotation property identified by name with the given type
getASTType
public ASTType getASTType()
- Description copied from interface:
ASTAnnotation
- Getter for the name of the current annotaion
- Specified by:
getASTType in interface ASTAnnotation
- Returns:
- annotation name
Copyright © 2012. All Rights Reserved.