openjava.mop
Class OJClassNull
java.lang.Object
|
+--openjava.mop.OJClassImp
|
+--openjava.mop.OJClassNull
- class OJClassNull
- extends OJClassImp
OJClassNull
OJClassNull()
getEnvironment
ClassEnvironment getEnvironment()
- Specified by:
getEnvironment
in class OJClassImp
toString
public String toString()
- Specified by:
toString
in class OJClassImp
newInstance
Object newInstance()
throws InstantiationException,
IllegalAccessException
- Specified by:
newInstance
in class OJClassImp
InstantiationException
IllegalAccessException
isInterface
boolean isInterface()
- Specified by:
isInterface
in class OJClassImp
isArray
boolean isArray()
- Specified by:
isArray
in class OJClassImp
isPrimitive
boolean isPrimitive()
- Specified by:
isPrimitive
in class OJClassImp
getName
String getName()
- Specified by:
getName
in class OJClassImp
getClassLoader
ClassLoader getClassLoader()
throws CannotInspectException
- Specified by:
getClassLoader
in class OJClassImp
CannotInspectException
getSuperclass
OJClass getSuperclass()
- Specified by:
getSuperclass
in class OJClassImp
getInterfaces
OJClass[] getInterfaces()
- Specified by:
getInterfaces
in class OJClassImp
getComponentType
OJClass getComponentType()
- Specified by:
getComponentType
in class OJClassImp
getModifiers
OJModifier getModifiers()
- Specified by:
getModifiers
in class OJClassImp
getSuffix
ParseTree getSuffix(String keyword)
- Specified by:
getSuffix
in class OJClassImp
getSigners
Object[] getSigners()
throws CannotExecuteException
- Specified by:
getSigners
in class OJClassImp
CannotExecuteException
getDeclaringClass
OJClass getDeclaringClass()
- Specified by:
getDeclaringClass
in class OJClassImp
getDeclaredClasses
OJClass[] getDeclaredClasses()
- Specified by:
getDeclaredClasses
in class OJClassImp
getDeclaredFields
OJField[] getDeclaredFields()
- Specified by:
getDeclaredFields
in class OJClassImp
getDeclaredMethods
OJMethod[] getDeclaredMethods()
- Specified by:
getDeclaredMethods
in class OJClassImp
getDeclaredConstructors
OJConstructor[] getDeclaredConstructors()
- Specified by:
getDeclaredConstructors
in class OJClassImp
getResourceAsStream
InputStream getResourceAsStream(String name)
throws CannotInspectException
- Specified by:
getResourceAsStream
in class OJClassImp
CannotInspectException
getResource
URL getResource(String name)
throws CannotInspectException
- Specified by:
getResource
in class OJClassImp
CannotInspectException
isExecutable
boolean isExecutable()
- Specified by:
isExecutable
in class OJClassImp
isAlterable
boolean isAlterable()
- Specified by:
isAlterable
in class OJClassImp
getByteCode
Class getByteCode()
throws CannotExecuteException
- Specified by:
getByteCode
in class OJClassImp
CannotExecuteException
getSourceCode
ClassDeclaration getSourceCode()
throws CannotAlterException
- Specified by:
getSourceCode
in class OJClassImp
CannotAlterException
getCompatibleJavaClass
Class getCompatibleJavaClass()
- Specified by:
getCompatibleJavaClass
in class OJClassImp
setDeclaringClass
void setDeclaringClass(OJClass parent)
throws CannotAlterException
- Specified by:
setDeclaringClass
in class OJClassImp
CannotAlterException
addClass
OJClass addClass(OJClass clazz)
throws CannotAlterException
- Specified by:
addClass
in class OJClassImp
CannotAlterException
removeClass
OJClass removeClass(OJClass clazz)
throws CannotAlterException
- Specified by:
removeClass
in class OJClassImp
CannotAlterException
addField
OJField addField(OJField field)
throws CannotAlterException
- Specified by:
addField
in class OJClassImp
CannotAlterException
removeField
OJField removeField(OJField field)
throws CannotAlterException
- Specified by:
removeField
in class OJClassImp
CannotAlterException
addMethod
OJMethod addMethod(OJMethod method)
throws CannotAlterException
- Specified by:
addMethod
in class OJClassImp
CannotAlterException
removeMethod
OJMethod removeMethod(OJMethod method)
throws CannotAlterException
- Specified by:
removeMethod
in class OJClassImp
CannotAlterException
addConstructor
OJConstructor addConstructor(OJConstructor constr)
throws CannotAlterException
- Specified by:
addConstructor
in class OJClassImp
CannotAlterException
removeConstructor
OJConstructor removeConstructor(OJConstructor constr)
throws CannotAlterException
- Specified by:
removeConstructor
in class OJClassImp
CannotAlterException
getMetaInfo
String getMetaInfo(String key)
- Specified by:
getMetaInfo
in class OJClassImp
getMetaInfoKeys
Enumeration getMetaInfoKeys()
- Specified by:
getMetaInfoKeys
in class OJClassImp
getMetaInfoElements
Enumeration getMetaInfoElements()
- Specified by:
getMetaInfoElements
in class OJClassImp
putMetaInfo
String putMetaInfo(String key,
String value)
throws CannotAlterException
- Specified by:
putMetaInfo
in class OJClassImp
CannotAlterException
writeMetaInfo
void writeMetaInfo(Writer out)
throws IOException
- Specified by:
writeMetaInfo
in class OJClassImp
IOException
forNameAnyway
final OJClass forNameAnyway(String name)
arrayForNames
final OJClass[] arrayForNames(String[] names)
forClass
static final OJClass forClass(Class javaclass)
nameForJavaClassName
static final String nameForJavaClassName(String javaname)
nameToJavaClassName
static final String nameToJavaClassName(String ojname)
arrayForFields
static final OJField[] arrayForFields(Field[] fields)
arrayForMethods
static final OJMethod[] arrayForMethods(Method[] methods)
arrayForConstructors
static final OJConstructor[] arrayForConstructors(Constructor[] constrs)