org.androidtransfuse.analysis.adapter
Class ASTElementMethod

Package class diagram package ASTElementMethod
java.lang.Object
  extended by org.androidtransfuse.analysis.adapter.ASTElementBase
      extended by org.androidtransfuse.analysis.adapter.ASTElementMethod
All Implemented Interfaces:
ASTBase, ASTMethod

public class ASTElementMethod
extends ASTElementBase
implements ASTMethod

Element specific implementation of the AST Method

Author:
John Ericksen

Constructor Summary
ASTElementMethod(ExecutableElement executableElement, ASTTypeBuilderVisitor astTypeBuilderVisitor, com.google.common.collect.ImmutableList<ASTParameter> parameters, ASTAccessModifier modifier, com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations, com.google.common.collect.ImmutableList<ASTType> throwsTypes)
           
 
Method Summary
 ASTAccessModifier getAccessModifier()
          Supplies the access modifier for this method.
 List<ASTParameter> getParameters()
          Supplies all parameters of this method
 ASTType getReturnType()
          Supplies the return type of this method
 List<ASTType> getThrowsTypes()
          Supplies all throws associated with this method
 
Methods inherited from class org.androidtransfuse.analysis.adapter.ASTElementBase
getAnnotation, getAnnotations, getASTAnnotation, getName, isAnnotated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.androidtransfuse.analysis.adapter.ASTBase
getAnnotation, getAnnotations, getASTAnnotation, getName, isAnnotated
 

Constructor Detail

ASTElementMethod

public ASTElementMethod(ExecutableElement executableElement,
                        ASTTypeBuilderVisitor astTypeBuilderVisitor,
                        com.google.common.collect.ImmutableList<ASTParameter> parameters,
                        ASTAccessModifier modifier,
                        com.google.common.collect.ImmutableCollection<ASTAnnotation> annotations,
                        com.google.common.collect.ImmutableList<ASTType> throwsTypes)
Method Detail

getParameters

public List<ASTParameter> getParameters()
Description copied from interface: ASTMethod
Supplies all parameters of this method

Specified by:
getParameters in interface ASTMethod
Returns:
method parameters

getReturnType

public ASTType getReturnType()
Description copied from interface: ASTMethod
Supplies the return type of this method

Specified by:
getReturnType in interface ASTMethod
Returns:
return type

getAccessModifier

public ASTAccessModifier getAccessModifier()
Description copied from interface: ASTMethod
Supplies the access modifier for this method.

Specified by:
getAccessModifier in interface ASTMethod
Returns:
method access modifier

getThrowsTypes

public List<ASTType> getThrowsTypes()
Description copied from interface: ASTMethod
Supplies all throws associated with this method

Specified by:
getThrowsTypes in interface ASTMethod
Returns:
throw types


Copyright © 2012. All Rights Reserved.