Interface IJavaType

All Superinterfaces:
ICanBeAnnotation, IEnhanceableType, IFileRepositoryBasedType, IHasInnerClass, IHasJavaClass, IJavaBackedType, IJavaBackedTypeData, IParameterizableType, IType, Serializable
All Known Subinterfaces:
IJavaEnumTypeInternal, IJavaTypeInternal
All Known Implementing Classes:
JavaEnumType, JavaType

  • Method Details

    • getIntrinsicClass

      Class getIntrinsicClass()
      Deprecated.
      Use only at runtime. At compile time use getBackingClassInfo().
      Returns the java class for this java type
      Returns:
      the java class for this java type
    • getBackingClassInfo

      IJavaClassInfo getBackingClassInfo()
      Specified by:
      getBackingClassInfo in interface IJavaBackedTypeData
    • getInnerClasses

      List<IJavaType> getInnerClasses()
      Specified by:
      getInnerClasses in interface IHasInnerClass
      Returns:
      An array of Java types reflecting all the classes and interfaces declared as members of the class represented by this Class object. These include public, protected, internal, and private classes and interfaces declared by the class, but excludes inherited classes and interfaces.
    • getGenericType

      IJavaType getGenericType()
      If this is a parameterized type, returns the generic type this type parameterizes. Otherwise, returns null.
      Specified by:
      getGenericType in interface IType
    • getAdapterClass

      IGosuClass getAdapterClass()
      Returns the Gosu proxy for this class.
    • createAdapterClass

      IGosuClass createAdapterClass()
      Creates the Gosu proxy type for this class.
      Returns:
      The newly created proxy type.
    • getRetainedMemory

      ObjectSize getRetainedMemory()