public class DefaultCompileContext extends AbstractCompileContext
DefaultExprDef for general purpose use of the ADF groovy
compiler/evaluator.AbstractCompileContext.GlobalExtendedType, AbstractCompileContext.UntypedExtendedTypeExprCompileContext.CompilerCallbackmExtendedTypeUNKNOWN_PARAMETER_TYPE_NAME, VOID_RETURN_TYPE| Constructor and Description |
|---|
DefaultCompileContext(ExprDef exprDef) |
DefaultCompileContext(ExprDef exprDef,
StructureDefinition structureDefinition) |
| Modifier and Type | Method and Description |
|---|---|
ExprDef |
getExprDef()
Return the definition of the expressio that is compiling.
|
java.lang.String |
getGlobalOperationReturnType(java.lang.String name,
java.lang.String... argtypes)
Return the type of the given global operations.
|
StructureDefinition |
getStructureDefinition()
Return the
oracle.binding.meta.StructureDefnition of the compile
context. |
boolean |
isCodeSource()
Indicates whether the compile source belongs to an ADF/BC code source.
|
checkAssignment, classesFor, classFor, createExtendedType, createExtendedTypeForView, createUntypedExtendedType, getAttributeType, getCurrentASTNode, getCurrentNode, getDisplayType, getErrorCollector, getExprTrustSupplier, getExtendedType, getMethodReturnType, getNewValueType, getOldValueType, getPropertyType, getReturnType, getReturnType, getSourceAttributeType, getSourceMethodReturnType, getSourceOperationReturnType, getSourcePropertyType, getSourceType, getTypeCheckerClassLoader, getVariableType, isAssignableFrom, isAssignableFrom, isMandatoryAttribute, isRowAttribute, isTriggerRowType, isTypeChecked, mapType, operationMatches, setCurrentASTNode, setCurrentNode, setErrorCollector, setTypeCheckerClassLoadergetProperty, getVariable, getVariables, hasVariable, setProperty, setVariablepublic DefaultCompileContext(ExprDef exprDef)
public DefaultCompileContext(ExprDef exprDef, StructureDefinition structureDefinition)
public ExprDef getExprDef()
ExprCompileContextgetExprDef in interface ExprCompileContextgetExprDef in class AbstractCompileContextpublic StructureDefinition getStructureDefinition()
ExprCompileContextoracle.binding.meta.StructureDefnition of the compile
context. For example, when compiling an entity validation rule this
should return the StructureDefinition of the entity.getStructureDefinition in interface ExprCompileContextgetStructureDefinition in class AbstractCompileContextpublic java.lang.String getGlobalOperationReturnType(java.lang.String name,
java.lang.String... argtypes)
ExprCompileContextgetGlobalOperationReturnType in interface ExprCompileContextgetGlobalOperationReturnType in class AbstractCompileContextpublic boolean isCodeSource()
ExprCompileContext