public class AbstractCompileContext.UntypedExtendedType extends AbstractCompileContext
AbstractCompileContext.GlobalExtendedType, AbstractCompileContext.UntypedExtendedTypeExprCompileContext.CompilerCallback| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_METHODS_FLAG |
static int |
ALLOW_PROPERTIES_FLAG |
mExtendedTypeUNKNOWN_PARAMETER_TYPE_NAME, VOID_RETURN_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
UntypedExtendedType() |
protected |
UntypedExtendedType(int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAssignment(java.lang.String token,
java.lang.String type,
ExprCompileContext.CompilerCallback callback) |
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.
|
java.lang.String |
getMethodReturnType(java.lang.String receiver,
java.lang.String name,
java.lang.String[] argtypes,
java.lang.String[] argvals)
Return the return type of the given method.
|
java.lang.String |
getNewValueType()
In validator contexts this returns the type of the new attribute
or row.
|
java.lang.String |
getOldValueType()
In validator contexts this returns the type of the new attribute
or row.
|
java.lang.String |
getPropertyType(java.lang.String objectType,
java.lang.String name)
Return the type of the given property.
|
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.
|
boolean |
isTypeChecked()
Returns whether type checking should be performed in this compile context.
|
classesFor, classFor, createExtendedType, createExtendedTypeForView, createUntypedExtendedType, getAttributeType, getCurrentASTNode, getCurrentNode, getDisplayType, getErrorCollector, getExprTrustSupplier, getExtendedType, getReturnType, getReturnType, getSourceAttributeType, getSourceMethodReturnType, getSourceOperationReturnType, getSourcePropertyType, getSourceType, getTypeCheckerClassLoader, getVariableType, isAssignableFrom, isAssignableFrom, isMandatoryAttribute, isRowAttribute, isTriggerRowType, mapType, operationMatches, setCurrentASTNode, setCurrentNode, setErrorCollector, setTypeCheckerClassLoadergetProperty, getVariable, getVariables, hasVariable, setProperty, setVariablepublic static final int ALLOW_METHODS_FLAG
public static final int ALLOW_PROPERTIES_FLAG
protected UntypedExtendedType(int flags)
protected UntypedExtendedType()
public ExprDef getExprDef()
ExprCompileContextgetExprDef in interface ExprCompileContextgetExprDef in class AbstractCompileContextpublic boolean isTypeChecked()
ExprCompileContextisTypeChecked in interface ExprCompileContextisTypeChecked in class AbstractCompileContextpublic boolean isCodeSource()
ExprCompileContextpublic java.lang.String getPropertyType(java.lang.String objectType,
java.lang.String name)
ExprCompileContextInvoked by the type checker if it cannot resolve the specifid property.
getPropertyType in interface ExprCompileContextgetPropertyType in class AbstractCompileContextpublic java.lang.String getMethodReturnType(java.lang.String receiver,
java.lang.String name,
java.lang.String[] argtypes,
java.lang.String[] argvals)
ExprCompileContextInvoked by the type checker if it cannot resolve the specified method.
getMethodReturnType in interface ExprCompileContextgetMethodReturnType in class AbstractCompileContextpublic void checkAssignment(java.lang.String token,
java.lang.String type,
ExprCompileContext.CompilerCallback callback)
checkAssignment in class AbstractCompileContextpublic java.lang.String getGlobalOperationReturnType(java.lang.String name,
java.lang.String... argtypes)
ExprCompileContextgetGlobalOperationReturnType in interface ExprCompileContextgetGlobalOperationReturnType 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 getNewValueType()
AbstractCompileContextgetNewValueType in class AbstractCompileContextpublic java.lang.String getOldValueType()
AbstractCompileContextgetOldValueType in class AbstractCompileContext