Class AsmMethod

java.lang.Object
gw.lang.reflect.java.asm.AsmMethod
All Implemented Interfaces:
IGeneric

public class AsmMethod extends Object implements IGeneric
  • Field Details

    • _methodType

      private AsmType _methodType
    • _modifiers

      private int _modifiers
    • _returnType

      private AsmType _returnType
    • _genericReturnType

      private AsmType _genericReturnType
    • _parameters

      private List<AsmType> _parameters
    • _paramInfos

      private List<Parameter> _paramInfos
    • _genericParameters

      private List<AsmType> _genericParameters
    • _exceptions

      private List<AsmType> _exceptions
    • _genericExceptions

      private List<AsmType> _genericExceptions
    • _annotations

      private List<AsmAnnotation> _annotations
    • _paramAnnotations

      private List<AsmAnnotation>[] _paramAnnotations
    • _owner

      private AsmClass _owner
    • _bGeneric

      private boolean _bGeneric
    • _defaultAnnoValue

      private Object _defaultAnnoValue
    • _iLine

      private int _iLine
  • Constructor Details

  • Method Details

    • update

      public void update(List<DeclarationPartSignatureVisitor> paramTypes, DeclarationPartSignatureVisitor returnType, List<DeclarationPartSignatureVisitor> exceptionTypes)
    • getName

      public String getName()
    • getMethodType

      public AsmType getMethodType()
    • getModifiers

      public int getModifiers()
    • getParameters

      public List<AsmType> getParameters()
    • getGenericParameters

      public List<AsmType> getGenericParameters()
    • getReturnType

      public AsmType getReturnType()
    • setReturnType

      void setReturnType(AsmType returnType)
    • getGenericReturnType

      public AsmType getGenericReturnType()
    • initGenericReturnType

      void initGenericReturnType()
    • getDeclaringClass

      public AsmClass getDeclaringClass()
    • isGeneric

      public boolean isGeneric()
      Specified by:
      isGeneric in interface IGeneric
    • setGeneric

      public void setGeneric()
      Specified by:
      setGeneric in interface IGeneric
    • isSynthetic

      public boolean isSynthetic()
    • isBridge

      public boolean isBridge()
    • isConstructor

      public boolean isConstructor()
    • getExceptions

      public List<AsmType> getExceptions()
    • getGenericExceptions

      public List<AsmType> getGenericExceptions()
    • initGenericExceptions

      void initGenericExceptions()
    • getAnnotations

      public List<AsmAnnotation> getAnnotations()
    • getParameterAnnotations

      public List<AsmAnnotation>[] getParameterAnnotations()
    • getAnnotationDefaultValue

      public Object getAnnotationDefaultValue()
    • setAnnotationDefaultValue

      public void setAnnotationDefaultValue(Object value)
    • isAnnotationPresent

      public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
    • getAnnotation

      public AsmAnnotation getAnnotation(Class annotationClass)
    • assignExceptions

      private void assignExceptions(String[] exceptions)
    • assignTypeFromDesc

      private void assignTypeFromDesc(String desc)
    • addAnnotation

      public void addAnnotation(AsmAnnotation asmAnnotation)
    • addParameterAnnotation

      public void addParameterAnnotation(int iParam, AsmAnnotation asmAnnotation)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • makeParameterString

      private String makeParameterString()
    • makeTypeVarsString

      private String makeTypeVarsString()
    • assignLineNumber

      void assignLineNumber(int iLine)
    • getLineNumber

      public int getLineNumber()
    • findTypeVariable

      public AsmType findTypeVariable(String tv)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • assignParameter

      void assignParameter(String name, int access)
    • getParameterInfos

      public List<Parameter> getParameterInfos()