Package eu.bandm.tools.umod
Class Types
java.lang.Object
eu.bandm.tools.umod.Types
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Delivers text to explain compound UMod types, with UMod source level type constructors, javadoc-style links to the generated classes, and additional strictness comments.static class
Central class for relating umod type definitions to Java type constructs. -
Field Summary
Modifier and TypeFieldDescriptionstatic final GeneratedAnnotation
static final MetaType
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
protected static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
protected static final MetaClass
protected static final MetaClass
protected static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
protected static final MetaClass
protected static final MetaClass
static final EnvironmentClass
static final MetaClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
static final EnvironmentClass
protected static final MetaClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static MetaType
AFTER JavaMapper HAS MATCHED: return declared type, or boxed type of this declared type in case this would be different.(package private) static MetaType
Returns the boxed declared type iff this is necessary for an "OPT" constructor.static String
static MetaType
static boolean
Indicates if type is a collection (set, seq or map).static UMod.ClassDef
NEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXMEstatic boolean
hasCanonicalOrder
(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) For basic types a canonical order is always defined; for internal defs depends on generated code; for external types ask the environment.static boolean
Indicates if type is a map, multimap, list or a setstatic Format
implementationFlagFormat
(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) selects between tree and hash implementations for maps and setsstatic boolean
Indicates if type is a basic type (umod int, float, string, char or bool).static boolean
static boolean
AFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class referencestatic boolean
AFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class referencestatic boolean
Indicates if type is a list or a setstatic boolean
Indicates if type is a map or a multi-mapstatic boolean
Indicates if there is a top-level "OPT" operator.static boolean
AFTER JavaMapper HAS MATCHED: indicates whether type is a primitive scalar java type.static boolean
AFTER JavaMapper HAS MATCHED: indicates whether type is a typedef referencestatic UMod.Type
Strips off all top-level "OPT" operators, delivering the highest non-opt part of type expression.static int
toplevelModif
(GeneratedContext context) If context is not a GeneratedClass, then it is a GeneratedPACKAGE and "static" is not allowed!
-
Field Details
-
QUEST
-
annotationDeprecated
-
WRAPPEDCLASS_void
-
WRAPPEDCLASS_Object
-
WRAPPEDCLASS_Class
-
WRAPPEDCLASS_int
-
WRAPPEDCLASS_Integer
-
WRAPPEDCLASS_double
-
WRAPPEDCLASS_Double
-
WRAPPEDCLASS_float
-
WRAPPEDCLASS_Float
-
WRAPPEDCLASS_char
-
WRAPPEDCLASS_Character
-
WRAPPEDCLASS_String
-
WRAPPEDCLASS_boolean
-
WRAPPEDCLASS_Boolean
-
WRAPPEDCLASS_List
-
WRAPPEDCLASS_LinkedList
-
WRAPPEDCLASS_ArrayList
-
WRAPPEDCLASS_Format
-
WRAPPEDCLASS_Pattern
-
WRAPPEDCLASS_FunctionPatterns
-
WRAPPEDCLASS_ReflectionPatterns
-
WRAPPEDCLASS_Comparable
-
WRAPPEDCLASS_EnumSet
-
WRAPPEDCLASS_EnumMap
-
WRAPPEDCLASS_CheckedEnumMap
-
WRAPPEDCLASS_CheckedList
-
WRAPPEDCLASS_Set
-
WRAPPEDCLASS_HashSet
-
WRAPPEDCLASS_TreeSet
-
WRAPPEDCLASS_CheckedSet
-
WRAPPEDCLASS_Map
-
WRAPPEDCLASS_MapEntry
-
WRAPPEDCLASS_Collection
-
WRAPPEDCLASS_HashMap
-
WRAPPEDCLASS_TreeMap
-
WRAPPEDCLASS_Map_checkedLeft
-
WRAPPEDCLASS_Map_checkedRight
-
WRAPPEDCLASS_CheckedMap_R
-
WRAPPEDCLASS_CheckedMap_D
-
WRAPPEDCLASS_CheckedMap_RD
-
WRAPPEDCLASS_MapProxy_implementations
-
WRAPPEDCLASS_SetProxy_implementations
-
WRAPPEDCLASS_Multimap
-
WRAPPEDCLASS_HashMultimap
-
WRAPPEDCLASS_Multimaps
-
WRAPPEDCLASS_CheckedMultimap_D
-
WRAPPEDCLASS_CheckedMultimap_R
-
WRAPPEDCLASS_CheckedMultimap_RD
-
WRAPPEDCLASS_Pair
-
WRAPPEDCLASS_Pair_checkedLeft
-
WRAPPEDCLASS_Pair_checkedRight
-
WRAPPEDCLASS_UncheckedPair
-
WRAPPEDCLASS_CheckedPair_L
-
WRAPPEDCLASS_CheckedPair_R
-
WRAPPEDCLASS_CheckedPair_LR
-
WRAPPEDCLASS_CoPair
-
WRAPPEDCLASS_CoPair_checkedLeft
-
WRAPPEDCLASS_CoPair_checkedRight
-
WRAPPEDCLASS_UncheckedCoPair
-
WRAPPEDCLASS_CheckedCoPair_L
-
WRAPPEDCLASS_CheckedCoPair_R
-
WRAPPEDCLASS_CheckedCoPair_LR
-
WRAPPEDCLASS_ops_Function
-
WRAPPEDCLASS_ops_Consumer
-
WRAPPEDCLASS_Objects
-
WRAPPEDCLASS_OptimizingVisitor
-
WRAPPEDCLASS_Rewriter
-
WRAPPEDCLASS_IllegalStateException
-
-
Constructor Details
-
Types
public Types()
-
-
Method Details
-
compilableFieldName
-
toplevelModif
If context is not a GeneratedClass, then it is a GeneratedPACKAGE and "static" is not allowed! -
nonOpt
Strips off all top-level "OPT" operators, delivering the highest non-opt part of type expression. -
isOpt
Indicates if there is a top-level "OPT" operator. -
isPrimitive
AFTER JavaMapper HAS MATCHED: indicates whether type is a primitive scalar java type. -
isExternalReferenceType
AFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class reference -
isExternal
AFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class reference -
isTypedefReferenceType
AFTER JavaMapper HAS MATCHED: indicates whether type is a typedef reference -
isEnumSetType
-
getUmodClassDef
NEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXME -
boxedDeclaredType
AFTER JavaMapper HAS MATCHED: return declared type, or boxed type of this declared type in case this would be different. -
boxedForOptional
Returns the boxed declared type iff this is necessary for an "OPT" constructor. -
defaultIsEmptyCollection
Indicates if type is a collection (set, seq or map). FIXME treatment of TYPEDEFS wrong !!! -
isBasic
Indicates if type is a basic type (umod int, float, string, char or bool). -
hasCanonicalOrder
public static boolean hasCanonicalOrder(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) For basic types a canonical order is always defined; for internal defs depends on generated code; for external types ask the environment. FIXME FALSCH! muss JavaMapper schon eintragen, damit hier FOREST nicht mehr benoetigt wird !!!??? -
isMapoid
Indicates if type is a map or a multi-map -
isListoid
Indicates if type is a list or a set -
hasVariableLength
Indicates if type is a map, multimap, list or a set -
declaredMapEntryType
-
implementationFlagFormat
public static Format implementationFlagFormat(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) selects between tree and hash implementations for maps and sets
-