Class JVMClass<T extends IClassLoader>

java.lang.Object
com.ibm.wala.classLoader.BytecodeClass<T>
com.ibm.wala.classLoader.JVMClass<T>
Type Parameters:
T - type of classloader which loads this format of class.
All Implemented Interfaces:
IClass, IClassHierarchyDweller
Direct Known Subclasses:
ShrikeClass

public abstract class JVMClass<T extends IClassLoader> extends BytecodeClass<T>
Note that classes from JVML have some features that are not present in all "bytecode" languages currently supported.
  • Field Details Link icon

    • modifiers Link icon

      protected int modifiers
      JVM-level modifiers; cached here for efficiency
  • Constructor Details Link icon

  • Method Details Link icon

    • getModifiers Link icon

      public int getModifiers()
      Description copied from interface: IClass
      Return the integer that encodes the class's modifiers, as defined by the JVM specification
      Returns:
      the integer that encodes the class's modifiers, as defined by the JVM specification
    • isPublic Link icon

      public boolean isPublic()
      Returns:
      true iff this class is public
    • isPrivate Link icon

      public boolean isPrivate()
      Returns:
      true iff this class is private
    • isInterface Link icon

      public boolean isInterface()
      Description copied from interface: IClass
      Is this class a Java interface?
    • isAbstract Link icon

      public boolean isAbstract()
      Returns:
      true iff this class is abstract
      See Also:
    • isSynthetic Link icon

      public boolean isSynthetic()
      Returns:
      true iff this class is synthetic, i.e., compiler-generated
      See Also:
    • getClassInitializer Link icon

      public IMethod getClassInitializer()
      Returns:
      the method that is this class's initializer, or null if none
      See Also: