java.lang.Object | ||||
↳ | sun.tools.tree.Node | |||
↳ | sun.tools.tree.Expression | |||
↳ | sun.tools.tree.UnaryExpression | |||
↳ | sun.tools.tree.FieldExpression |
WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
constructor
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if the present name is part of a scoping prefix.
| |||||||||||
Check the expression if it appears on the LHS of an op= expression
| |||||||||||
There is a simple assignment being made to the given final field.
| |||||||||||
Check the expression if it appears on the LHS of an assignment
| |||||||||||
Check the expression
| |||||||||||
Create a copy of the expression for method inlining
| |||||||||||
The cost of inlining this expression
| |||||||||||
Return a
FieldUpdater object to be used in updating the
value of the location denoted by this , which must be an
expression suitable for the left-hand side of an assignment. | |||||||||||
Type checking may assign a more complex implementation
to an innocuous-looking expression (like an identifier).
| |||||||||||
Return a
FieldUpdater object to be used in updating the
value of the location denoted by this , which must be an
expression suitable for the left-hand side of an assignment. | |||||||||||
Inline
| |||||||||||
Check if constant: Will it inline away?
| |||||||||||
Print
| |||||||||||
Convert an '.' expression to a qualified identifier
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Check if the present name is part of a scoping prefix.
Check the expression if it appears on the LHS of an op= expression
There is a simple assignment being made to the given final field. The field was named either by a simple name or by an almost-simple expression of the form "this.v". Check if this is a legal assignment.
Blank final variables can be set in initializers or constructor bodies. In all cases there must be definite single assignment. (All instance and instance variable initializers and each constructor body are treated as if concatenated for the purposes of this check. Assignment to "this.x" is treated as a definite assignment to the simple name "x" which names the instance variable.)
Check the expression if it appears on the LHS of an assignment
Check the expression
The cost of inlining this expression
Return a FieldUpdater
object to be used in updating the
value of the location denoted by this
, which must be an
expression suitable for the left-hand side of an assignment.
This is used for implementing assignments to private fields for which
an access method is required. Returns null if no access method is
needed, in which case the assignment is handled in the usual way, by
direct access. Only simple assignment expressions are handled here
Assignment operators and pre/post increment/decrement operators are
are handled by 'getUpdater' below.
Must be called after 'checkValue', else 'right' will be invalid.
Type checking may assign a more complex implementation to an innocuous-looking expression (like an identifier). Return that implementation, or the original expression itself if there is no special implementation.
This appears at present to be dead code, and is not called from within javac. Access to the implementation generally occurs within the same class, and thus uses the underlying field directly.
Return a FieldUpdater
object to be used in updating the
value of the location denoted by this
, which must be an
expression suitable for the left-hand side of an assignment. This is
used for implementing the assignment operators and the increment and
decrement operators on private fields that are accessed from another
class, e.g, uplevel from an inner class. Returns null if no access
method is needed.
Must be called after 'checkValue', else 'right' will be invalid.
Check if constant: Will it inline away?
Convert an '.' expression to a qualified identifier