Package eu.bandm.tools.umod
Class Types
java.lang.Object
eu.bandm.tools.umod.Types
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDelivers text to explain compound UMod types, with UMod source level type constructors, javadoc-style links to the generated classes, and additional strictness comments.static classCentral class for relating umod type definitions to Java type constructs. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GeneratedAnnotationstatic final MetaTypestatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassprotected static final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassstatic final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassprotected static final MetaClassprotected static final MetaClassprotected static final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClassprotected static final MetaClassprotected static final MetaClassstatic final EnvironmentClassstatic final MetaClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassstatic final EnvironmentClassprotected static final MetaClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MetaTypeAFTER JavaMapper HAS MATCHED: return declared type, or boxed type of this declared type in case this would be different.(package private) static MetaTypeReturns the boxed declared type iff this is necessary for an "OPT" constructor.static Stringstatic MetaTypestatic booleanIndicates if type is a collection (set, seq or map).static UMod.ClassDefNEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXMEstatic booleanhasCanonicalOrder(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 booleanIndicates if type is a map, multimap, list or a setstatic FormatimplementationFlagFormat(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) selects between tree and hash implementations for maps and setsstatic booleanIndicates if type is a basic type (umod int, float, string, char or bool).static booleanstatic booleanAFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class referencestatic booleanAFTER JavaMapper HAS MATCHED: indicates whether type is an imported, external class referencestatic booleanIndicates if type is a list or a setstatic booleanIndicates if type is a map or a multi-mapstatic booleanIndicates if there is a top-level "OPT" operator.static booleanAFTER JavaMapper HAS MATCHED: indicates whether type is a primitive scalar java type.static booleanAFTER JavaMapper HAS MATCHED: indicates whether type is a typedef referencestatic UMod.TypeStrips off all top-level "OPT" operators, delivering the highest non-opt part of type expression.static inttoplevelModif(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
-