final
void
|
addModifiers(int mod)
|
final
boolean
|
canReach(Environment env, MemberDefinition f)
Check if a field can reach another field (only considers
forward references, not the access modifiers).
|
Vset
|
check(Environment env, Context ctx, Vset vset)
Really check the field definition.
|
void
|
check(Environment env)
Request a check of the field definition.
|
boolean
|
checkMeet(Environment env, MemberDefinition method, ClassDeclaration clazz)
Check to see if two method definitions are compatible, that is
do they have a `meet'.
|
boolean
|
checkOverride(Environment env, MemberDefinition method)
Check to see if `this' can override/hide `method'.
|
void
|
cleanup(Environment env)
|
void
|
code(Environment env, Assembler asm)
Generate code
|
void
|
codeInit(Environment env, Context ctx, Assembler asm)
|
boolean
|
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
|
getAccessMethodTarget()
Is this a synthetic method which provides access to a
visible private member?
|
MemberDefinition
|
getAccessUpdateMember()
If this method is a getter for a private field, return the setter.
|
Vector
|
getArguments()
Get arguments (a vector of LocalMember)
|
final
ClassDeclaration
|
getClassDeclaration()
Get the class declaration
|
final
ClassDefinition
|
getClassDefinition()
Get the class definition
|
ClassDeclaration
|
getDefiningClassDeclaration()
Get the class declaration in which the field is actually defined
|
String
|
getDocumentation()
Get the field's documentation
|
final
IdentifierToken[]
|
getExceptionIds()
|
ClassDeclaration[]
|
getExceptions(Environment env)
Get the exceptions that are thrown by this method.
|
Object
|
getInitialValue()
|
ClassDefinition
|
getInnerClass()
Get an inner class.
|
final
int
|
getModifiers()
Get the field's modifiers
|
final
Identifier
|
getName()
Get the field's name
|
final
MemberDefinition
|
getNextMatch()
|
final
MemberDefinition
|
getNextMember()
Get the next field or the next match
|
final
ClassDefinition
|
getTopClass()
Get the field's top-level enclosing class
|
final
Type
|
getType()
Get the field's type
|
final
Node
|
getValue()
|
Node
|
getValue(Environment env)
Get the field's final value (may return null)
|
final
long
|
getWhere()
Get the position in the input
|
final
boolean
|
isAbstract()
|
boolean
|
isAccessMethod()
|
final
boolean
|
isBlankFinal()
Tell if this is a final variable without an initializer.
|
boolean
|
isConstant()
Check if constant: Will it inline away to a constant?
|
final
boolean
|
isConstructor()
|
final
boolean
|
isDeprecated()
|
final
boolean
|
isFinal()
|
final
boolean
|
isInitializer()
|
boolean
|
isInlineable(Environment env, boolean fromFinal)
|
final
boolean
|
isInnerClass()
|
boolean
|
isLocal()
|
final
boolean
|
isMethod()
|
final
boolean
|
isNative()
|
boolean
|
isNeverNull()
|
final
boolean
|
isPackagePrivate()
|
final
boolean
|
isPrivate()
|
final
boolean
|
isProtected()
|
final
boolean
|
isPublic()
Checks
|
final
boolean
|
isStatic()
|
final
boolean
|
isStrict()
|
final
boolean
|
isSuperAccessMethod()
Is this an access method for a field selection or method call
of the form '...super.foo' or '...super.foo()'?
|
final
boolean
|
isSynchronized()
|
final
boolean
|
isSynthetic()
|
final
boolean
|
isTransient()
|
boolean
|
isUplevelValue()
Is this a synthetic field which holds a copy of,
or reference to, a local variable or enclosing instance?
|
final
boolean
|
isVariable()
|
final
boolean
|
isVolatile()
|
static
MemberDefinition
|
makeProxyMember(MemberDefinition field, ClassDefinition classDef, Environment env)
Create a member which is externally the same as `field' but
is defined in class `classDef'.
|
void
|
print(PrintStream out)
Print for debugging
|
boolean
|
reportDeprecated(Environment env)
Tells whether to report a deprecation error for this field.
|
void
|
resolveTypeStructure(Environment env)
A stub.
|
boolean
|
sameReturnType(MemberDefinition method)
Convenience method to see if two methods return the same type
|
void
|
setAccessMethodTarget(MemberDefinition target)
|
void
|
setAccessUpdateMember(MemberDefinition updater)
|
final
void
|
setIsSuperAccessMethod(boolean b)
Mark this member as an access method for a field selection
or method call via the 'super' keyword.
|
final
void
|
setValue(Node value)
|
final
void
|
subModifiers(int mod)
|
String
|
toString()
toString
|