Class SootMethodType

java.lang.Object
org.robovm.compiler.util.generic.SootBaseType
org.robovm.compiler.util.generic.SootMethodType
All Implemented Interfaces:
GenericDeclaration, Type

public class SootMethodType
extends SootBaseType
implements GenericDeclaration
Type implementation which wraps a SootMethod and contains a subset of the methods implemented by Method.
  • Constructor Details

    • SootMethodType

      public SootMethodType​(soot.SootMethod sootMethod)
  • Method Details

    • getSootMethod

      public soot.SootMethod getSootMethod()
    • getTypeParameters

      public TypeVariable<SootMethodType>[] getTypeParameters()
      Specified by:
      getTypeParameters in interface GenericDeclaration
    • getGenericParameterTypes

      public Type[] getGenericParameterTypes()
    • getGenericReturnType

      public Type getGenericReturnType()
    • getParameterTypes

      public Type[] getParameterTypes()
    • getExceptionTypes

      public SootClassType[] getExceptionTypes()
    • getDeclaringClass

      public SootClassType getDeclaringClass()
    • getReturnType

      public Type getReturnType()
    • toGenericSignature

      public String toGenericSignature()
      Description copied from interface: Type
      Returns the generic signature of this type.
      Specified by:
      toGenericSignature in interface Type
    • hashCode

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

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object