| Modifier and Type | Method and Description |
|---|---|
MemberDefinition |
RemoteClass.Method.getMemberDefinition()
Return the definition of the actual class member corresponing
to this method of a remote interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsmMemberDefinition |
| Modifier and Type | Method and Description |
|---|---|
Vector<MemberDefinition> |
AsmMemberDefinition.getArguments() |
| Modifier and Type | Method and Description |
|---|---|
MemberDefinition |
CompoundType.Method.getMemberDefinition()
Return the MemberDefinition from which this method was created.
|
protected MemberDefinition |
CompoundType.Member.getMemberDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected ValueType[] |
CompoundType.getMethodExceptions(MemberDefinition member,
boolean quiet,
ContextStack stack) |
protected static String |
CompoundType.getVisibilityString(MemberDefinition member) |
| Constructor and Description |
|---|
Member(MemberDefinition member,
String value,
ContextStack stack,
CompoundType enclosing)
Create a new Member object.
|
Method(CompoundType enclosing,
MemberDefinition memberDef,
boolean quiet,
ContextStack stack)
Create a new Method object corresponding to the given
method definition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Assembler.collect(Environment env,
MemberDefinition field,
ConstantPool tab)
Collect all constants into the constant table
|
void |
Assembler.write(Environment env,
DataOutputStream out,
MemberDefinition field,
ConstantPool tab)
Generate code
|
void |
Assembler.writeLocalVariableTable(Environment env,
MemberDefinition field,
DataOutputStream out,
ConstantPool tab)
Write the local variable table.
|
| Constructor and Description |
|---|
LocalVariable(MemberDefinition field,
int slot) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryMember
This class represents a binary member
WARNING: The contents of this source file are not part of any
supported API.
|
| Modifier and Type | Method and Description |
|---|---|
Vector<MemberDefinition> |
BinaryMember.getArguments()
Get arguments
|
| Modifier and Type | Field and Description |
|---|---|
protected MemberDefinition |
MemberDefinition.accessPeer |
MemberDefinition |
AmbiguousMember.field1
The field that was not found
|
MemberDefinition |
AmbiguousMember.field2 |
protected MemberDefinition |
ClassDefinition.firstMember |
protected MemberDefinition |
ClassDefinition.innerClassMember |
protected MemberDefinition |
ClassDefinition.lastMember |
protected MemberDefinition |
MemberDefinition.nextMatch |
protected MemberDefinition |
MemberDefinition.nextMember |
protected MemberDefinition |
ClassDefinition.outerMember |
| Modifier and Type | Method and Description |
|---|---|
MemberDefinition |
ClassDefinition.findAnyMethod(Environment env,
Identifier nm)
Find any method with a given name.
|
MemberDefinition |
ClassDefinition.findMethod(Environment env,
Identifier nm,
Type t)
Find a method, ie: exact match in this class or any of the super
classes.
|
MemberDefinition |
ClassDefinition.findOuterMember()
If inner, return an innermost uplevel self pointer, if any exists.
|
MemberDefinition |
ClassDefinition.getAccessMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Find or create an access method for a private member,
or return null if this is not possible.
|
MemberDefinition |
MemberDefinition.getAccessMethodTarget()
Is this a synthetic method which provides access to a
visible private member?
|
MemberDefinition |
MemberDefinition.getAccessUpdateMember()
If this method is a getter for a private field, return the setter.
|
MemberDefinition |
ClassDefinition.getClassLiteralLookup(long fwhere)
Get helper method for class literal lookup.
|
MemberDefinition |
ClassDefinition.getFirstMatch(Identifier name) |
MemberDefinition |
ClassDefinition.getFirstMember()
Get the class' first field or first match
|
MemberDefinition |
ClassDefinition.getInnerClass(Environment env,
Identifier nm)
Get an inner class.
|
MemberDefinition |
ClassDefinition.getInnerClassMember()
If inner, get the field for this class in the enclosing class
|
MemberDefinition |
MemberDefinition.getNextMatch() |
MemberDefinition |
MemberDefinition.getNextMember()
Get the next field or the next match
|
MemberDefinition |
ClassDefinition.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Find or create an update method for a private member,
or return null if this is not possible.
|
MemberDefinition |
ClassDefinition.getVariable(Environment env,
Identifier nm,
ClassDefinition source)
Get a field from this class.
|
MemberDefinition |
MethodSet.lookupSig(Identifier name,
Type type)
If the MethodSet contains a method with the same signature
then lookup() returns it.
|
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.matchAnonConstructor(Environment env,
Identifier accessPackage,
Type[] argumentTypes)
A version of matchMethod to be used only for constructors
when we cannot pass in a sourceClass argument.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Vector<MemberDefinition> |
MemberDefinition.getArguments()
Get arguments (a vector of LocalMember)
|
Iterator<MemberDefinition> |
ClassDefinition.getMethods()
Get an Iterator of all methods which could be accessed in an
instance of this class.
|
protected Iterator<MemberDefinition> |
ClassDefinition.getMethods(Environment env)
Get an Iterator of all methods which could be accessed in an
instance of this class.
|
protected Iterator<MemberDefinition> |
ClassDefinition.getPermanentlyAbstractMethods()
This method returns an Iterator of all abstract methods
in our superclasses which we are unable to implement.
|
Iterator<MemberDefinition> |
MethodSet.iterator()
Returns an Iterator of all methods in the MethodSet
|
Iterator<MemberDefinition> |
MethodSet.lookupName(Identifier name)
Returns an Iterator of all methods contained in the
MethodSet which have a given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MethodSet.add(MemberDefinition method)
Adds `method' to the MethodSet.
|
void |
ClassDefinition.addMember(Environment env,
MemberDefinition field)
Add a field (subclasses make checks)
|
protected void |
ClassDefinition.addMember(MemberDefinition field)
Add a field (no checks)
|
boolean |
ClassDefinition.canAccess(Environment env,
MemberDefinition f)
Check if a field can be accessed from a class
|
boolean |
MemberDefinition.canReach(Environment env,
MemberDefinition f)
Check if a field can reach another field (only considers
forward references, not the access modifiers).
|
boolean |
MemberDefinition.checkMeet(Environment env,
MemberDefinition method,
ClassDeclaration clazz)
Check to see if two method definitions are compatible, that is
do they have a `meet'.
|
boolean |
MemberDefinition.checkOverride(Environment env,
MemberDefinition method)
Check to see if `this' can override/hide `method'.
|
boolean |
MemberDefinition.couldOverride(Environment env,
MemberDefinition method)
This method is meant to be used to determine if one of two inherited
methods could override the other.
|
MemberDefinition |
ClassDefinition.getAccessMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Find or create an access method for a private member,
or return null if this is not possible.
|
MemberDefinition |
ClassDefinition.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Find or create an update method for a private member,
or return null if this is not possible.
|
boolean |
Environment.isApplicable(MemberDefinition m,
Type[] args)
Returns true if the given method is applicable to the given arguments
|
boolean |
Environment.isMoreSpecific(MemberDefinition best,
MemberDefinition other)
Returns true if "best" is in every argument at least as good as "other"
|
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'.
|
boolean |
ClassDefinition.permitInlinedAccess(Environment env,
MemberDefinition f)
Check if a class is entitled to inline access to a method from
another class.
|
boolean |
ClassDefinition.protectedAccess(Environment env,
MemberDefinition f,
Type accessorType)
We know the field is marked protected (and not public) and that
the field is visible (as per canAccess).
|
void |
MethodSet.replace(MemberDefinition method)
Adds `method' to the MethodSet, replacing any previous definition
with the same signature.
|
boolean |
MemberDefinition.sameReturnType(MemberDefinition method)
Convenience method to see if two methods return the same type
|
void |
MemberDefinition.setAccessMethodTarget(MemberDefinition target) |
void |
MemberDefinition.setAccessUpdateMember(MemberDefinition updater) |
protected void |
ClassDefinition.setOuterMember(MemberDefinition outerMember)
Set the class' enclosing current instance pointer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ClassDefinition.addMirandaMethods(Environment env,
Iterator<MemberDefinition> mirandas)
Add a list of methods to this class as miranda methods.
|
| Constructor and Description |
|---|
AmbiguousMember(MemberDefinition field1,
MemberDefinition field2)
Constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
SourceMember
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MemberDefinition |
SourceClass.getAccessMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
Find or create an access method for a private member,
or return null if this is not possible.
|
MemberDefinition |
SourceClass.getClassLiteralLookup(long fwhere)
Deprecated.
Get helper method for class literal lookup.
|
MemberDefinition |
SourceClass.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Vector<MemberDefinition> |
SourceMember.getArguments()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceClass.addMember(Environment env,
MemberDefinition f)
Deprecated.
Add a field (check it first)
|
MemberDefinition |
SourceClass.getAccessMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
Find or create an access method for a private member,
or return null if this is not possible.
|
MemberDefinition |
SourceClass.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SourceClass.addMirandaMethods(Environment env,
Iterator<MemberDefinition> mirandas)
Deprecated.
Add a group of methods to this class as miranda methods.
|
| Constructor and Description |
|---|
SourceMember(MemberDefinition f,
ClassDefinition c,
Environment env)
Deprecated.
Constructor.
|
| Constructor and Description |
|---|
SourceMember(long where,
ClassDefinition clazz,
String doc,
int modifiers,
Type type,
Identifier name,
Vector<MemberDefinition> argNames,
IdentifierToken[] exp,
Node value)
Deprecated.
Constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
LocalMember
A local Field
WARNING: The contents of this source file are not part of any
supported API.
|
| Modifier and Type | Method and Description |
|---|---|
MemberDefinition |
Context.getApparentField(Environment env,
Identifier name)
Like getField, except that it skips over inherited fields.
|
MemberDefinition |
Context.getElement(int number)
Return the local field or member field corresponding to a number.
|
MemberDefinition |
Context.getField()
Return the field containing the present context.
|
MemberDefinition |
Context.getField(Environment env,
Identifier name)
Get either a local variable, or a field in a current class
|
MemberDefinition |
UplevelReference.getLocalField()
the field allocated in the client for this reference
|
MemberDefinition |
UplevelReference.getLocalField(Environment env)
Get the local field, creating one if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Context.canReach(Environment env,
MemberDefinition f)
Check if a field can reach another field (only considers
forward references, not the access modifiers).
|
static Vset |
FieldExpression.checkFinalAssign(Environment env,
Context ctx,
Vset vset,
long where,
MemberDefinition field)
There is a simple assignment being made to the given final field.
|
void |
UplevelReference.codeArguments(Environment env,
Context ctx,
Assembler asm,
long where,
MemberDefinition conField)
Code is being generated for a call to a constructor of
the client class.
|
void |
UplevelReference.codeInitialization(Environment env,
Context ctx,
Assembler asm,
long where,
MemberDefinition conField)
Code is being generated for a constructor of the client class.
|
static LocalMember[] |
LocalMember.copyArguments(Context ctx,
MemberDefinition field)
May inline copies of all the arguments of the given method.
|
int |
Context.declareFieldNumber(MemberDefinition field)
Assign a number to a class field.
|
Expression |
Context.findOuterLink(Environment env,
long where,
ClassDefinition reqc,
MemberDefinition f,
boolean needExactMatch) |
Expression |
Context.findOuterLink(Environment env,
long where,
MemberDefinition f)
Return a local expression which can serve as the base reference
for the given field.
|
int |
Context.getFieldNumber(MemberDefinition field)
Retrieve a number previously assigned by declareMember().
|
| Constructor and Description |
|---|
Context(Context ctx,
MemberDefinition field)
Create the initial context for a method
The incoming context is inherited from
|
FieldExpression(long where,
Expression right,
MemberDefinition field) |
IdentifierExpression(long where,
MemberDefinition field) |
MethodExpression(long where,
Expression right,
MemberDefinition field,
Expression[] args) |
MethodExpression(long where,
Expression right,
MemberDefinition field,
Expression[] args,
boolean forceSuper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModifierFilter.checkMember(MemberDefinition field)
Filter a MemberDefinition.
|
Copyright © 2017–2023 Eclipse Foundation. All rights reserved.