org.androidtransfuse.analysis.adapter
Class ASTElementConstructor

Package class diagram package ASTElementConstructor
java.lang.Object
  extended by org.androidtransfuse.analysis.adapter.ASTElementBase
      extended by 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

Constructor Summary
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)
           
 
Method Summary
 ASTAccessModifier getAccessModifier()
          Access modifier for the constructor
 List<ASTParameter> getParameters()
          Supplies the contained constructor parameters
 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

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)
Method Detail

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.