Interface ISourceMethod

All Superinterfaces:
IGenericMethod
All Known Implementing Classes:
SourceAnnotationMethodInfo, SourceConstructorInfo, SourceConstructorWithChildrenInfo, SourceMethodElementInfo, SourceMethodInfo, SourceMethodWithChildrenInfo

public interface ISourceMethod extends IGenericMethod
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Answer the source end position of the method's declaration.
    int
    Answer the source start position of the method's declaration.
    char[][]
    Answer the unresolved names of the exception types or null if the array is empty.
    int
    Answer the source end position of the method's selector.
    int
    Answer the source start position of the method's selector.
    char[]
    Answer the unresolved name of the return type or null if receiver is a constructor or clinit.
    char[][][]
    Answer the array of bound names of the receiver's type parameters or null if the array is empty.
    char[][]
    Answer the names of the receiver's type parameters or null if the array is empty.

    Methods inherited from interface IGenericMethod

    getArgumentNames, getModifiers, isConstructor
    Modifier and Type
    Method
    Description
    char[][]
    Answer the names of the argument or null if the argument names are not available.
    int
    Answer an int whose bits are set according the access constants defined by the VM spec.
    boolean
     
  • Method Details

    • getDeclarationSourceEnd

      int getDeclarationSourceEnd()
      Answer the source end position of the method's declaration.
    • getDeclarationSourceStart

      int getDeclarationSourceStart()
      Answer the source start position of the method's declaration.
    • getExceptionTypeNames

      char[][] getExceptionTypeNames()
      Answer the unresolved names of the exception types or null if the array is empty. A name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.
    • getNameSourceEnd

      int getNameSourceEnd()
      Answer the source end position of the method's selector.
    • getNameSourceStart

      int getNameSourceStart()
      Answer the source start position of the method's selector.
    • getReturnTypeName

      char[] getReturnTypeName()
      Answer the unresolved name of the return type or null if receiver is a constructor or clinit. The name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.
    • getTypeParameterNames

      char[][] getTypeParameterNames()
      Answer the names of the receiver's type parameters or null if the array is empty.
    • getTypeParameterBounds

      char[][][] getTypeParameterBounds()
      Answer the array of bound names of the receiver's type parameters or null if the array is empty.