org.androidtransfuse.analysis.adapter
Class ASTElementConstructor
java.lang.Object
org.androidtransfuse.analysis.adapter.ASTElementBase
org.androidtransfuse.analysis.adapter.ASTElementConstructor
- All Implemented Interfaces:
- ASTBase, ASTConstructor
public class ASTElementConstructor
- extends ASTElementBase
- implements ASTConstructor
Element specific implementation of the AST Constructor
- Author:
- John Ericksen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTElementConstructor
public ASTElementConstructor(ExecutableElement executableElement,
com.google.common.collect.ImmutableList<ASTParameter> parameters,
ASTAccessModifier modifier,
com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations,
com.google.common.collect.ImmutableList<ASTType> throwsTypes)
getParameters
public List<ASTParameter> getParameters()
- Description copied from interface:
ASTConstructor
- Supplies the contained constructor parameters
- Specified by:
getParameters in interface ASTConstructor
- Returns:
- list of constructor parameters
getAccessModifier
public ASTAccessModifier getAccessModifier()
- Description copied from interface:
ASTConstructor
- Access modifier for the constructor
- Specified by:
getAccessModifier in interface ASTConstructor
- Returns:
- access modifier for constructor
getThrowsTypes
public List<ASTType> getThrowsTypes()
- Description copied from interface:
ASTConstructor
- Supplies all throws associated with this method
- Specified by:
getThrowsTypes in interface ASTConstructor
- Returns:
- throw types
Copyright © 2012. All Rights Reserved.