Skip navigation links
- All Superinterfaces:
- CompiledExpression, Element, JavaElement, JavaHasType
- All Known Subinterfaces:
- CompiledInvokeExpression, SourceArrayAccessExpression, SourceDereferenceExpression, SourceDotExpression, SourceInvokeExpression, SourceMethodCallExpression, SourceNewClassExpression, SourceSimpleNameExpression
public interface CompiledAccessExpression
- extends CompiledExpression
The type of a compiled access expression.
|Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
- Returns the resolved result of the explicit lhs operand, if present, or an implicit lhs expression, if any. Null if resolution fails. Null if the lhs resolution produces a package. Null if there is no explicit lhs operand and there is no implicit lhs expression. Conversely, if the result is non-null, that means resolution succeeded and resulted in a non-package lhs expression. In simple name expressions, there is no explicit lhs operand. If this simple name resolves to a local variable access, then there is no lhs expression. If this simple name resolves to a type (including member types), then there is no lhs expression. If this simple name resolves to a member field or member method, then there is an implicit lhs expression, usually a "this" instance or an enclosing class. In dot expressions, if there is no lhs source operand, then there will always be an implicit lhs operand. If the compiled lhs expression is a package, then this expression is considered to have no lhs expression. In method invocations, if there is no lhs source operand, then there will always be an implicit lhs expression, usually a "this" instance or an enclosing class. In array accesses, there is always an explicit lhs operand. In class creators, if there is a lhs source operand, then this is an inner creator with an explicit lhs expression. Class creators for non-static inner classes have an implicit lhs expression for a "this" instance. Otherwise, class creators have no lhs expression.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.