Class Method

java.lang.Object
net.covers1624.coffeegrinder.type.Method
All Implemented Interfaces:
ITypeParameterizedMember
Direct Known Subclasses:
ArrayCloneMethod, AsmMethod, GetClassMethod, ParameterizedMethod, PolymorphicSignatureMethod, RawMethod

public abstract class Method extends Object implements ITypeParameterizedMember
Created by covers1624 on 13/4/21.
  • Constructor Details

    • Method

      public Method()
  • Method Details

    • getDeclaringClass

      public abstract ClassType getDeclaringClass()
    • getName

      public abstract String getName()
    • getReturnType

      public abstract AType getReturnType()
    • getParameters

      public abstract List<Parameter> getParameters()
    • getExceptions

      public abstract List<ReferenceType> getExceptions()
    • getAccessFlags

      public abstract EnumBitSet<AccessFlag> getAccessFlags()
    • getDescriptor

      public abstract org.objectweb.asm.Type getDescriptor()
    • getAnnotationSupplier

      public AnnotationSupplier getAnnotationSupplier()
    • getDefaultAnnotationValue

      @Nullable public abstract @Nullable Object getDefaultAnnotationValue()
    • getDeclaration

      public abstract Method getDeclaration()
    • asRaw

      public abstract Method asRaw()
    • isConstructor

      public abstract boolean isConstructor()
    • isStatic

      public final boolean isStatic()
    • isAbstract

      public final boolean isAbstract()
    • isSynthetic

      public final boolean isSynthetic()
    • isBridge

      public final boolean isBridge()
    • getAccessor

      @Nullable public @Nullable SyntheticAccessor getAccessor()
    • resolveTypeParameter

      @Nullable public @Nullable TypeParameter resolveTypeParameter(String identifier)
      Specified by:
      resolveTypeParameter in interface ITypeParameterizedMember
    • getFullName

      public String getFullName()
    • toString

      public String toString()
      Overrides:
      toString in class Object