org.androidtransfuse.analysis.adapter
Class ASTClassAnnotation

Package class diagram package ASTClassAnnotation
java.lang.Object
  extended by org.androidtransfuse.analysis.adapter.ASTClassAnnotation
All Implemented Interfaces:
ASTAnnotation

public class ASTClassAnnotation
extends Object
implements ASTAnnotation

Class specific AST Annotation

Author:
John Ericksen

Constructor Summary
ASTClassAnnotation(Annotation annotation, ASTType type, ASTClassFactory astClassFactory)
           
 
Method Summary
 ASTType getASTType()
          Getter for the name of the current annotaion
<T> T
getProperty(String name, Class<T> type)
          Getter for a given annotation property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTClassAnnotation

public ASTClassAnnotation(Annotation annotation,
                          ASTType type,
                          ASTClassFactory astClassFactory)
Method Detail

getProperty

public <T> T getProperty(String name,
                         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.