Class ExpressionFactory.CallExpression<T>
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
org.glassfish.pfl.dynamic.codegen.impl.NodeBase
org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.CallExpression<T>
- All Implemented Interfaces:
AttributedObject, ExpressionInternal, Node, Statement, Expression, CopyInterceptor
- Direct Known Subclasses:
ExpressionFactory.NonStaticCallExpression, ExpressionFactory.StaticCallExpression
- Enclosing class:
ExpressionFactory
public abstract static class ExpressionFactory.CallExpression<T>
extends ExpressionFactory.ExpressionBase
Representation of any sort of method call other than a
constructor invocation. There are two main cases here:
static calls, represented by
CallExpression<Type>, and
non-static calls, represented by CallExpression<ExpressionInternal>.
This abstract base class has two concrete subclasses, one
for static, and one for non-static calls.
The call type is determined as follows:
- If isStatic is true, the call is static.
- If isStatic is false, and the target's type is an interface, the call is an interface call.
- If isStatic is false, and the target's type is not an interface, the call is virtual.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCallExpression(ExpressionFactory ef, String ident, Signature signature, List<Expression> args) -
Method Summary
Methods inherited from class ExpressionFactory.ExpressionBase
accept, copy, copy, isAssignableMethods inherited from class AttributedObjectBase
attributes, get, setMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributedObject
attributes, get, setMethods inherited from interface Node
getAncestor, id, parent, parent
-
Field Details
-
target
-
ident
-
signature
-
args
-
-
Constructor Details
-
CallExpression
CallExpression(ExpressionFactory ef, String ident, Signature signature, List<Expression> args)
-
-
Method Details
-
isStatic
public abstract boolean isStatic() -
target
-
target
-
ident
-
signature
-
args
-
type
-