com.ibm.wala.cast.java.loader
Class JavaSourceLoaderImpl.JavaClass

java.lang.Object
  extended by com.ibm.wala.cast.loader.AstClass
      extended by com.ibm.wala.cast.java.loader.JavaSourceLoaderImpl.JavaClass
All Implemented Interfaces:
IClass, IClassHierarchyDweller, ClassConstants
Enclosing class:
JavaSourceLoaderImpl

public class JavaSourceLoaderImpl.JavaClass
extends AstClass

WALA representation of a Java class residing in a source file


Field Summary
 
Fields inherited from class com.ibm.wala.cast.loader.AstClass
declaredFields, declaredMethods
 
Fields inherited from interface com.ibm.wala.shrikeCT.ClassConstants
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, CONSTANT_Class, CONSTANT_Double, CONSTANT_FieldRef, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodRef, CONSTANT_Long, CONSTANT_MethodRef, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8, MAGIC
 
Constructor Summary
JavaSourceLoaderImpl.JavaClass(java.lang.String typeName, java.util.Collection superTypeNames, CAstSourcePositionMap.Position position, java.util.Collection qualifiers, JavaSourceLoaderImpl loader, IClass enclosingClass)
           
 
Method Summary
 IClassHierarchy getClassHierarchy()
           
 java.util.Collection<IClass> getDirectInterfaces()
           
 IClass getEnclosingClass()
           
 IClass getSuperclass()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.cast.loader.AstClass
getAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassInitializer, getClassLoader, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getField, getMethod, getModifiers, getName, getReference, getSourceFileName, getSourcePosition, getSourceURL, isAbstract, isArrayClass, isInterface, isPublic, isReferenceType, isStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaSourceLoaderImpl.JavaClass

public JavaSourceLoaderImpl.JavaClass(java.lang.String typeName,
                                      java.util.Collection superTypeNames,
                                      CAstSourcePositionMap.Position position,
                                      java.util.Collection qualifiers,
                                      JavaSourceLoaderImpl loader,
                                      IClass enclosingClass)
Method Detail

getClassHierarchy

public IClassHierarchy getClassHierarchy()

getSuperclass

public IClass getSuperclass()
Specified by:
getSuperclass in interface IClass
Specified by:
getSuperclass in class AstClass
Returns:
the superclass, or null if java.lang.Object

getDirectInterfaces

public java.util.Collection<IClass> getDirectInterfaces()
Specified by:
getDirectInterfaces in interface IClass
Specified by:
getDirectInterfaces in class AstClass
Returns:
Collection of (IClass) interfaces this class directly implements If this class is an interface, returns the interfaces it immediately extends.

getEnclosingClass

public IClass getEnclosingClass()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object