Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.javatools.parser.java.v2.model.expression
Interface CompiledAccessExpression

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.


Field Summary
 
Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType
EMPTY_ARRAY
 
Method Summary
 JavaHasType getResolvedLhs()
           
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.expression.CompiledExpression
getResolvedObject
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType
getResolvedType, getUnresolvedType
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
 

Method Detail

getResolvedLhs

JavaHasType getResolvedLhs()
Returns:
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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.