Package com._1c.g5.v8.dt.bsl.typesystem
Class PredefinedValueInvocationTypesComputer
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.typesystem.PredefinedValueInvocationTypesComputer
-
- All Implemented Interfaces:
IInvocationTypesComputerExtension
public class PredefinedValueInvocationTypesComputer extends Object implements IInvocationTypesComputerExtension
Special implementation ofIInvocationTypesComputerExtension
for general context method "PredefinedValue" ("ПредопределенноеЗначение")
-
-
Constructor Summary
Constructors Constructor Description PredefinedValueInvocationTypesComputer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Type
getEnumManagerType(String enumTypeName, org.eclipse.emf.common.util.URI enumTypeUri, org.eclipse.emf.ecore.EObject context)
Gets enum manager type by enum typeList<TypeItem>
getTypes(Invocation inv)
Gets additional returning types by theInvocation
-
-
-
Method Detail
-
getEnumManagerType
public static Type getEnumManagerType(String enumTypeName, org.eclipse.emf.common.util.URI enumTypeUri, org.eclipse.emf.ecore.EObject context)
Gets enum manager type by enum type- Parameters:
enumTypeName
- name of enum type, cannot benull
enumTypeUri
-URI
of enum type, cannot benull
context
- actual context for resolving enum manager type, cannot benull
- Returns:
- enum manager type by enum type, never
null
but can be proxy if there is no enum manager type for enum type
-
getTypes
public List<TypeItem> getTypes(Invocation inv)
Description copied from interface:IInvocationTypesComputerExtension
Gets additional returning types by theInvocation
- Specified by:
getTypes
in interfaceIInvocationTypesComputerExtension
- Parameters:
inv
- for getting additional returning types, can't benull
- Returns:
- additional returning types, never
null
-
-