Class SootClassType

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

public class SootClassType
extends SootBaseType
implements GenericDeclaration
Type implementation which wraps a SootClass and contains a subset of the methods implemented by Class.
  • Constructor Details

    • SootClassType

      public SootClassType​(String name)
    • SootClassType

      public SootClassType​(soot.SootClass sootClass)
  • Method Details

    • getSootClass

      public soot.SootClass getSootClass()
    • isAssignableFrom

      public boolean isAssignableFrom​(SootClassType c)
    • getTypeParameters

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

      public Type[] getGenericInterfaces()
    • getGenericSuperclass

      public Type getGenericSuperclass()
    • getEnclosingMethod

      public SootMethodType getEnclosingMethod()
    • getEnclosingConstructor

      public SootMethodType getEnclosingConstructor()
    • getEnclosingClass

      public SootClassType getEnclosingClass()
    • getSuperclass

      public SootClassType getSuperclass()
    • getInterfaces

      public SootClassType[] getInterfaces()
    • getDeclaringClass

      public SootClassType getDeclaringClass()
    • toString

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

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

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

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