org.androidtransfuse.analysis.adapter
Class ASTElementField
java.lang.Object
org.androidtransfuse.analysis.adapter.ASTElementBase
org.androidtransfuse.analysis.adapter.ASTElementField
- All Implemented Interfaces:
- ASTBase, ASTField
public class ASTElementField
- extends ASTElementBase
- implements ASTField
Element specific implementation of the AST Field
- Author:
- John Ericksen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTElementField
public ASTElementField(VariableElement variableElement,
ASTTypeBuilderVisitor astTypeBuilderVisitor,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations)
getASTType
public ASTType getASTType()
- Description copied from interface:
ASTField
- Supplies the type of the field represented.
- Specified by:
getASTType in interface ASTField
- Returns:
- field type
getAccessModifier
public ASTAccessModifier getAccessModifier()
- Description copied from interface:
ASTField
- Supplies the access modifier for this field
- Specified by:
getAccessModifier in interface ASTField
- Returns:
- field access modifier
getConstantValue
public Object getConstantValue()
- Description copied from interface:
ASTField
- Supplies the constant value for this field (if one exists)
IE: static String value = "constant"
- Specified by:
getConstantValue in interface ASTField
- Returns:
- constant field values
Copyright © 2012. All Rights Reserved.