| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
RemoteClass.getClassDefinition()
Return the ClassDefinition for this class.
|
ClassDefinition[] |
RemoteClass.getRemoteInterfaces()
Return an array of ClassDefinitions representing all of the remote
interfaces implemented by this class.
|
| Modifier and Type | Method and Description |
|---|---|
static RemoteClass |
RemoteClass.forClass(BatchEnvironment env,
ClassDefinition implClassDef)
Create a RemoteClass object representing the remote meta-information
of the given class.
|
void |
RMIGenerator.generate(BatchEnvironment env,
File destDir,
ClassDefinition cdef)
Generate the source files for the stub and/or skeleton classes
needed by RMI for the given remote implementation class.
|
void |
Generator.generate(BatchEnvironment env,
File destDir,
ClassDefinition cdef)
Generate output.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
AsmClassFactory.loadDefinition(InputStream is,
Environment env) |
| Modifier and Type | Field and Description |
|---|---|
protected ClassDefinition |
CompoundType.classDef |
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
CompoundType.getClassDefinition()
Return the ClassDefinition for this type.
|
| Modifier and Type | Method and Description |
|---|---|
protected Vector<CompoundType.Method> |
CompoundType.addAllMethods(ClassDefinition current,
Vector<CompoundType.Method> directMethods,
boolean noMultiInheritedMethods,
boolean quiet,
ContextStack stack) |
static AbstractType |
AbstractType.forAbstract(ClassDefinition classDef,
ContextStack stack,
boolean quiet)
Create an AbstractType for the given class.
|
static ImplementationType |
ImplementationType.forImplementation(ClassDefinition classDef,
ContextStack stack,
boolean quiet)
Create an ImplementationType for the given class.
|
static NCClassType |
NCClassType.forNCClass(ClassDefinition classDef,
ContextStack stack)
Create an NCClassType for the given class.
|
static NCInterfaceType |
NCInterfaceType.forNCInterface(ClassDefinition classDef,
ContextStack stack)
Create an NCInterfaceType for the given class.
|
static RemoteType |
RemoteType.forRemote(ClassDefinition classDef,
ContextStack stack,
boolean quiet)
Create an RemoteType for the given class.
|
static SpecialInterfaceType |
SpecialInterfaceType.forSpecial(ClassDefinition theClass,
ContextStack stack)
Create a SpecialInterfaceType object for the given class.
|
static SpecialClassType |
SpecialClassType.forSpecial(ClassDefinition theClass,
ContextStack stack)
Create a SpecialClassType object for the given class.
|
static ValueType |
ValueType.forValue(ClassDefinition classDef,
ContextStack stack,
boolean quiet)
Create an ValueType object for the given class.
|
void |
StubGenerator.generate(BatchEnvironment env,
File destDir,
ClassDefinition cdef)
Overridden in order to set the standardPackage flag.
|
void |
PrintGenerator.generate(BatchEnvironment env,
File destDir,
ClassDefinition cdef)
Generate output.
|
void |
Generator.generate(BatchEnvironment env,
File destDir,
ClassDefinition cdef)
Generate output.
|
protected CompoundType |
StubGenerator.getTopType(ClassDefinition cdef,
ContextStack stack)
Create and return a top-level type.
|
protected CompoundType |
IDLGenerator.getTopType(ClassDefinition cdef,
ContextStack stack)
Create and return a top-level type.
|
protected abstract CompoundType |
Generator.getTopType(ClassDefinition cdef,
ContextStack stack)
Create and return a top-level type.
|
protected boolean |
CompoundType.inheritsFrom(ContextStack stack,
ClassDefinition def,
ClassDefinition otherDef) |
protected static Type |
CompoundType.makeType(Type theType,
ClassDefinition classDef,
ContextStack stack) |
protected Vector<CompoundType.Method> |
CompoundType.updateParentClassMethods(ClassDefinition current,
Vector<CompoundType.Method> currentMethods,
boolean quiet,
ContextStack stack) |
| Constructor and Description |
|---|
ClassType(ContextStack stack,
ClassDefinition classDef,
int typeCode)
Create an ClassType instance for the given class.
|
ClassType(ContextStack stack,
int typeCode,
ClassDefinition classDef)
Create a ClassType instance for the given class.
|
ClassType(int typeCode,
ClassDefinition classDef,
ContextStack stack)
Create a ClassType instance for the given class.
|
CompoundType(ContextStack stack,
ClassDefinition classDef,
int typeCode)
Create a CompoundType instance for the given class.
|
CompoundType(ContextStack stack,
int typeCode,
ClassDefinition classDef)
Create a CompoundType instance for the given class.
|
InterfaceType(ContextStack stack,
ClassDefinition classDef,
int typeCode)
Create a InterfaceType instance for the given class.
|
InterfaceType(ContextStack stack,
int typeCode,
ClassDefinition classDef)
Create a InterfaceType instance for the given class.
|
RemoteType(ContextStack stack,
ClassDefinition classDef)
Create a RemoteType instance for the given class.
|
RemoteType(ContextStack stack,
ClassDefinition classDef,
int typeCode)
Create a RemoteType instance for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Assembler.addNativeToJcovTab(Environment env,
ClassDefinition c) |
void |
Assembler.GenVecJCov(Environment env,
ClassDefinition c,
long Time) |
void |
Assembler.writeCoverageTable(Environment env,
ClassDefinition c,
DataOutputStream out,
ConstantPool tab,
long whereField)
Write the coverage table
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryClass
WARNING: The contents of this source file are not part of any
supported API.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
BinaryClassFactory.loadDefinition(InputStream is,
Environment env) |
| Constructor and Description |
|---|
BinaryMember(ClassDefinition innerClass)
Constructor for an inner class.
|
BinaryMember(ClassDefinition clazz,
int modifiers,
Type type,
Identifier name,
BinaryAttribute atts)
Constructor
|
| Modifier and Type | Field and Description |
|---|---|
protected ClassDefinition |
MemberDefinition.clazz |
protected ClassDefinition |
MemberDefinition.innerClass |
protected ClassDefinition |
ClassDefinition.outerClass |
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
ParserActions.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Define class
|
ClassDefinition |
Parser.beginClass(long off,
String doc,
int mod,
IdentifierToken nm,
IdentifierToken sup,
IdentifierToken[] impl)
Deprecated.
|
ClassDefinition |
MemberDefinition.getClassDefinition()
Get the class definition
|
ClassDefinition |
ClassDeclaration.getClassDefinition()
Get the definition of this class.
|
ClassDefinition |
ClassDeclaration.getClassDefinition(Environment env)
Get the definition of this class, if the class is not
yet defined, load the definition.
|
ClassDefinition |
Environment.getClassDefinition(Identifier nm)
Return a class definition given a fully qualified class name.
|
ClassDefinition |
Environment.getClassDefinition(Type t)
Return a class definition given a type.
|
ClassDefinition |
ClassDeclaration.getClassDefinitionNoCheck(Environment env)
Get the definition of this class, if the class is not
yet defined, load the definition.
|
protected ClassDefinition |
Parser.getCurrentClass()
Report the current class under construction.
|
ClassDefinition |
MemberDefinition.getInnerClass()
Get an inner class.
|
ClassDefinition |
ClassDefinition.getLocalClass(String name)
Maintain a hash table of local and anonymous classes
whose internal names are prefixed by the current class.
|
ClassDefinition |
ClassDefinition.getOuterClass()
Get the class' enclosing class (or null if not inner)
|
ClassDefinition |
Environment.getQualifiedClassDefinition(long where,
Identifier nm,
ClassDefinition ctxClass,
boolean isExtends)
Like 'getClassDefinition(env)', but check access on each component.
|
ClassDefinition |
MemberDefinition.getTopClass()
Get the field's top-level enclosing class
|
ClassDefinition |
ClassDefinition.getTopClass()
Get the class' top-level enclosing class
|
ClassDefinition |
ClassDefinitionFactory.loadDefinition(InputStream is,
Environment env) |
ClassDefinition |
Environment.makeClassDefinition(Environment origEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
protected ClassDefinition |
Parser.parseClassBody(IdentifierToken nm,
int mod,
int ctx,
String doc,
Vector<IdentifierToken> ext,
Vector<IdentifierToken> impl,
long p)
Parse the body of a class or interface declaration,
starting at the left brace.
|
protected ClassDefinition |
Parser.parseNamedClass(int mod,
int ctx,
String doc)
Parse a named class or interface declaration,
starting at "class" or "interface".
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClassDefinition.addLocalClass(ClassDefinition c,
String name) |
Vset |
ClassDefinition.checkLocalClass(Environment env,
Context ctx,
Vset vset,
ClassDefinition sup,
Expression[] args,
Type[] argTypes) |
void |
ParserActions.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Define a field
|
void |
Parser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken nm,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
|
boolean |
ClassDefinition.enclosingClassOf(ClassDefinition otherClass)
Check if this is an enclosing class of another class
|
void |
ParserActions.endClass(long off,
ClassDefinition c)
End class
|
void |
Parser.endClass(long off,
ClassDefinition c)
Deprecated.
|
ClassDefinition |
Environment.getQualifiedClassDefinition(long where,
Identifier nm,
ClassDefinition ctxClass,
boolean isExtends)
Like 'getClassDefinition(env)', but check access on each component.
|
MemberDefinition |
ClassDefinition.getVariable(Environment env,
Identifier nm,
ClassDefinition source)
Get a field from this class.
|
boolean |
ClassDefinition.inSamePackage(ClassDefinition c) |
ClassDefinition |
Environment.makeClassDefinition(Environment origEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
MemberDefinition |
Environment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Create a new field.
|
static MemberDefinition |
MemberDefinition.makeProxyMember(MemberDefinition field,
ClassDefinition classDef,
Environment env)
Create a member which is externally the same as `field' but
is defined in class `classDef'.
|
MemberDefinition |
ClassDefinition.matchMethod(Environment env,
ClassDefinition accessor,
Identifier methodName)
Lookup a method.
|
MemberDefinition |
ClassDefinition.matchMethod(Environment env,
ClassDefinition accessor,
Identifier methodName,
Type[] argumentTypes)
Lookup a method.
|
void |
ClassDefinition.noteUsedBy(ClassDefinition ref,
long where,
Environment env)
Note that this class is being used somehow by
ref. |
protected void |
Parser.recoverField(ClassDefinition newClass)
Recover after a syntax error in a field.
|
boolean |
Environment.resolve(long where,
ClassDefinition c,
Type t)
Resolve a type.
|
boolean |
Environment.resolveByName(long where,
ClassDefinition c,
Identifier nm)
Given its fully-qualified name, verify that a class is defined and accessible.
|
boolean |
Environment.resolveExtendsByName(long where,
ClassDefinition c,
Identifier nm) |
Type |
Environment.resolveNames(ClassDefinition c,
Type t,
boolean synth)
Resolve the names within a type, returning the adjusted type.
|
void |
ClassDeclaration.setDefinition(ClassDefinition definition,
int status)
Set the class definition
|
protected void |
ClassDefinition.setOuterClass(ClassDefinition outerClass)
Set the class' enclosing class.
|
| Constructor and Description |
|---|
MemberDefinition(ClassDefinition innerClass)
Constructor for an inner class.
|
MemberDefinition(long where,
ClassDefinition clazz,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] expIds,
Node value)
Constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
SourceClass
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
BatchParser.beginClass(long where,
String doc,
int mod,
IdentifierToken t,
IdentifierToken sup,
IdentifierToken[] interfaces)
Deprecated.
Define class
|
ClassDefinition |
BatchParser.getCurrentClass()
Deprecated.
Report the current class under construction.
|
ClassDefinition |
BatchEnvironment.makeClassDefinition(Environment toplevelEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
| Modifier and Type | Method and Description |
|---|---|
Vset |
SourceClass.checkLocalClass(Environment env,
Context ctx,
Vset vset,
ClassDefinition sup,
Expression[] args,
Type[] argTypes)
Deprecated.
During the type-checking of an outer method body or initializer,
this routine is called to check a local class body
in the proper context.
|
void |
BatchParser.defineField(long where,
ClassDefinition c,
String doc,
int mod,
Type t,
IdentifierToken name,
IdentifierToken[] args,
IdentifierToken[] exp,
Node val)
Deprecated.
Define a method
|
void |
BatchParser.endClass(long where,
ClassDefinition c)
Deprecated.
End class
|
ClassDefinition |
BatchEnvironment.makeClassDefinition(Environment toplevelEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
MemberDefinition |
BatchEnvironment.makeMemberDefinition(Environment origEnv,
long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
IdentifierToken[] argNames,
IdentifierToken[] expIds,
Object value)
Create a new field.
|
void |
SourceClass.noteUsedBy(ClassDefinition ref,
long where,
Environment env)
Deprecated.
See if the source file of this class is right.
|
| Constructor and Description |
|---|
SourceMember(ClassDefinition innerClass)
Deprecated.
Constructor for an inner class.
|
SourceMember(long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
Vector<MemberDefinition> argNames,
IdentifierToken[] exp,
Node value)
Deprecated.
Constructor
|
SourceMember(MemberDefinition f,
ClassDefinition c,
Environment env)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDefinition |
Context.findScope(Environment env,
ClassDefinition reqc)
From which enclosing class do members of this type come?
|
ClassDefinition |
UplevelReference.getClient()
the client class
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
Context.findOuterLink(Environment env,
long where,
ClassDefinition reqc,
MemberDefinition f,
boolean needExactMatch) |
ClassDefinition |
Context.findScope(Environment env,
ClassDefinition reqc)
From which enclosing class do members of this type come?
|
int |
Context.getScopeNumber(ClassDefinition c)
Get the scope number for a reference to a member of this class
(Larger scope numbers are more deeply nested.)
|
static Expression[] |
NewInstanceExpression.insertOuterLink(Environment env,
Context ctx,
long where,
ClassDefinition def,
Expression outerArg,
Expression[] args)
Given a list of arguments for a constructor,
return a possibly modified list which includes the hidden
argument which initializes the uplevel self pointer.
|
static boolean |
Context.outerLinkExists(Environment env,
ClassDefinition reqc,
ClassDefinition thisc)
Is there a "this" of type reqc in scope?
|
| Constructor and Description |
|---|
Context(Context ctx,
ClassDefinition c)
Create a new context, for initializing a class.
|
LocalMember(ClassDefinition innerClass)
Constructor for a block-inner class.
|
LocalMember(long where,
ClassDefinition clazz,
int modifiers,
Type type,
Identifier name)
Constructor
|
NewInstanceExpression(long where,
Expression right,
Expression[] args,
Expression outerArg,
ClassDefinition body) |
UplevelReference(ClassDefinition client,
LocalMember target)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModifierFilter.checkClass(ClassDefinition cdef)
Filter a ClassDefinition.
|
Copyright © 2017–2023 Eclipse Foundation. All rights reserved.