Logo Search packages:      
Sourcecode: janino version File versions  Download package

org::codehaus::janino::ClassFileIClass Class Reference

Inheritance diagram for org::codehaus::janino::ClassFileIClass:


List of all members.

Detailed Description

A wrapper object that turns a ClassFile object into a IClass.

Definition at line 46 of file ClassFileIClass.java.

Public Member Functions

 ClassFileIClass (ClassFile classFile, IClassLoader iClassLoader)
Access getAccess ()
IClass getArrayIClass (IClass objectType)
IClass getArrayIClass (int n, IClass objectType)
final IClass getComponentType ()
final IClass[] getDeclaredIClasses () throws CompileException
final IConstructor[] getDeclaredIConstructors ()
final IField[] getDeclaredIFields ()
final IMethod[] getDeclaredIMethods (String methodName)
final IMethod[] getDeclaredIMethods ()
final IClass getDeclaringIClass () throws CompileException
final String getDescriptor ()
final IMethod[] getIMethods () throws CompileException
final IClass[] getInterfaces () throws CompileException
final IClass getOuterIClass () throws CompileException
final IClass getSuperclass () throws CompileException
IField[] getSyntheticIFields ()
final boolean hasIMethod (String methodName, IClass[] parameterTypes) throws CompileException
boolean implementsInterface (IClass that) throws CompileException
boolean isAbstract ()
boolean isArray ()
boolean isAssignableFrom (IClass that) throws CompileException
boolean isFinal ()
boolean isInterface ()
boolean isPrimitive ()
boolean isPrimitiveNumeric ()
boolean isSubclassOf (IClass that) throws CompileException
void resolveAllClasses () throws ClassNotFoundException
void resolveHalf () throws ClassNotFoundException
String toString ()

Static Public Member Functions

static String[] getDescriptors (IClass[] iClasses)

Static Public Attributes

static final IClass BOOLEAN = new PrimitiveIClass(Descriptor.BOOLEAN_)
static final IClass BYTE = new PrimitiveIClass(Descriptor.BYTE_)
static final IClass CHAR = new PrimitiveIClass(Descriptor.CHAR_)
static final IClass DOUBLE = new PrimitiveIClass(Descriptor.DOUBLE_)
static final IClass FLOAT = new PrimitiveIClass(Descriptor.FLOAT_)
static final IClass INT = new PrimitiveIClass(Descriptor.INT_)
static final IClass LONG = new PrimitiveIClass(Descriptor.LONG_)
static final IMethod[] NO_IMETHODS = new IMethod[0]
static final IClass SHORT = new PrimitiveIClass(Descriptor.SHORT_)
static final IClass VOID = new PrimitiveIClass(Descriptor.VOID_)

Protected Member Functions

IClass getComponentType2 ()
IClass[] getDeclaredIClasses2 () throws CompileException
IConstructor[] getDeclaredIConstructors2 ()
IField[] getDeclaredIFields2 ()
IMethod[] getDeclaredIMethods2 ()
IClass getDeclaringIClass2 () throws CompileException
String getDescriptor2 ()
IClass[] getInterfaces2 () throws CompileException
IClass getOuterIClass2 () throws CompileException
IClass getSuperclass2 () throws CompileException

Protected Attributes

IField[] declaredIFields = null
IMethod[] declaredIMethods = null

Package Functions

IClass[] findMemberType (String optionalName) throws CompileException

Static Package Functions

 [static initializer]

Package Attributes

Map declaredIMethodCache = null
IMethod[] iMethodCache = null

Private Member Functions

IClass resolveClass (String descriptor) throws ClassNotFoundException
IClass resolveClass (short index) throws ClassNotFoundException
IClass[] resolveClasses (short[] ifs) throws CompileException
IField resolveField (final ClassFile.FieldInfo fieldInfo) throws ClassNotFoundException
IInvocable resolveMethod (final ClassFile.MethodInfo methodInfo) throws ClassNotFoundException

Static Private Member Functions

static Access accessFlags2Access (short accessFlags)

Private Attributes

final short accessFlags
final ClassFile classFile
final IClassLoader iClassLoader
final Map resolvedClasses = new HashMap()
final Map resolvedFields = new HashMap()
final Map resolvedMethods = new HashMap()

Static Private Attributes

static final boolean DEBUG = false

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index