Class CAstAbstractModuleLoader.CoreClass
java.lang.Object
com.ibm.wala.cast.loader.AstClass
com.ibm.wala.cast.loader.AstDynamicPropertyClass
com.ibm.wala.cast.loader.CAstAbstractModuleLoader.CoreClass
- All Implemented Interfaces:
IClass, IClassHierarchyDweller, ClassConstants
- Enclosing class:
CAstAbstractModuleLoader
-
Field Summary
Fields inherited from class AstClass
declaredFields, declaredMethodsModifier and TypeFieldDescriptionFields inherited from interface 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_InvokeDynamic, CONSTANT_Long, CONSTANT_MethodHandle, CONSTANT_MethodRef, CONSTANT_MethodType, CONSTANT_Module, CONSTANT_NameAndType, CONSTANT_Package, CONSTANT_String, CONSTANT_Utf8, MAGIC, REF_getField, REF_getStatic, REF_invokeInterface, REF_invokeSpecial, REF_invokeStatic, REF_invokeVirtual, REF_newInvokeSpecial, REF_putField, REF_putStaticModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Constructor Summary
ConstructorsConstructorDescriptionCoreClass(TypeName name, TypeName superName, IClassLoader loader, CAstSourcePositionMap.Position sourcePosition) -
Method Summary
Methods inherited from class AstDynamicPropertyClass
getField, isStaticFieldMethods inherited from class AstClass
getAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassInitializer, getClassLoader, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getField, getMethod, getModifiers, getName, getReference, getSource, getSourceFileName, getSourcePosition, getSourceURL, isAbstract, isArrayClass, isInterface, isPrivate, isPublic, isReferenceType, isSyntheticModifier and TypeMethodDescriptionCompute the instance and static fields declared by this class or any of its superclasses.Compute the instance fields declared by this class or any of its superclasses.Collection<? extends IMethod> Compute the methods declared by this class or any of its superclasses.Compute the static fields declared by this class or any of its superclasses.Return the object that represents the defining class loader for this class.Compute the instance fields declared by this class.Collection<? extends IMethod> Finds a field, given a name and a type.Finds method matching signature.intReturn the integer that encodes the class's modifiers, as defined by the JVM specificationgetName()booleanbooleanbooleanIs this class a Java interface?booleanbooleanisPublic()booleanDoes 'this' refer to a reference type? If not, then it refers to a primitive type.boolean
-
Constructor Details
-
CoreClass
public CoreClass(TypeName name, TypeName superName, IClassLoader loader, CAstSourcePositionMap.Position sourcePosition)
-
-
Method Details
-
getClassHierarchy
-
toString
-
getDirectInterfaces
- Specified by:
getDirectInterfacesin interfaceIClass- Specified by:
getDirectInterfacesin classAstClass- Returns:
- Collection of (IClass) interfaces this class directly implements. If this class is an interface, returns the interfaces it immediately extends.
-
getSuperclass
- Specified by:
getSuperclassin interfaceIClass- Specified by:
getSuperclassin classAstClass- Returns:
- the superclass, or null if java.lang.Object
-
getAnnotations
Description copied from interface:IClassget annotations, if any
-