| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private abstract static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private abstract static class | |
| private static class | |
| private static enum | |
| private abstract static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeDescriptor | ANY
Represents all types. |
| public static final TypeDescriptor | ARRAY
Represents an array with any content type. |
| public static final TypeDescriptor | BOOLEAN
Represents a boolean type. |
| public static final TypeDescriptor | DATE
Type descriptor for date. |
| public static final TypeDescriptor | DURATION
Type descriptor for duration. |
| public static final TypeDescriptor | EXCEPTION
Type descriptor for exception. |
| public static final TypeDescriptor | EXECUTABLE
Represents an executable type returning any type and accepting any number of parameters of any type. |
| public static final TypeDescriptor | EXECUTABLE_ANY
Represents a raw executable type. |
| public static final TypeDescriptor | HASH
Represents a hash map with any key type and any value type. |
| public static final TypeDescriptor | HOST_OBJECT
Represents a host object. |
| private final TypeDescriptor. | |
| public static final TypeDescriptor | INSTANTIABLE
Represents an instantiable type accepting any number of parameters of any type. |
| public static final TypeDescriptor | INSTANTIABLE_ANY
Represents a raw instantiable type. |
| public static final TypeDescriptor | ITERABLE
Represents an iterable with any content type. |
| public static final TypeDescriptor | ITERATOR
Represents an iterator with any content type. |
| public static final TypeDescriptor | META_OBJECT
Type descriptor for metaobjects. |
| public static final TypeDescriptor | NATIVE_POINTER
Represents a native pointer. |
| private static final TypeDescriptor | |
| public static final TypeDescriptor | NULL
The NULL type represents a type of null or undefined value. |
| public static final TypeDescriptor | NUMBER
Represents a numeric type. |
| public static final TypeDescriptor | OBJECT
Represents an object created by a guest language. |
| private static final TypeDescriptor[] | |
| public static final TypeDescriptor | STRING
Represents a string type. |
| public static final TypeDescriptor | TIME
Type descriptor for time. |
| public static final TypeDescriptor | TIME_ZONE
Type descriptor for time zone. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeDescriptor | Returns: an array type with given componentthe required component type. componentType)Creates a new array type with given component type. |
| private static TypeDescriptor. | |
| private static TypeDescriptor. | |
| private static void | collectDNFComponents(final TypeDescriptor.
the union types unionTypes,the non union types tail, int[] indexes, int currentIndex, final Collection<? super TypeDescriptor.the result collector collector)Collects all disjunctive normal form components. |
| private static TypeDescriptor | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static TypeDescriptor | Returns: an executable typethe required return type, use ANY as any type returnType, TypeDescriptor... the required parameter types parameterTypes)Creates a new executable type with a given return type and parameter types. |
| public static TypeDescriptor | Returns: an executable typethe required return type, use ANY as any type returnType, boolean the executable has variable length arguments or ignores additional parameters.
For executables created by the
vararg, TypeDescriptor... LanguageProvider#createValueConstructors(org. set
to false if the language neither ignores extra parameters nor the
executable has variable arguments length.the required parameter types parameterTypes)Creates a new executable type with a given return type and parameter types. |
| private static void | |
| public static TypeDescriptor | Returns: the type of value, may by an union type containing more primitive or array types.the value to create value)TypeDescriptor forCreates a type for given |
| public static TypeDescriptor | Returns: a new hash map type with given key and value typesthe required key type. keyType, TypeDescriptor the required value type. valueType)Creates a new hash map type with given key type and value type. |
| public int | |
| public static TypeDescriptor | Returns: an instantiable typethe type of an instance, use ANY as any type instanceType, boolean the instantiable has variable length arguments or ignores additional
parameters. For instantiables created by the
vararg, TypeDescriptor... LanguageProvider#createValueConstructors(org. set
to false if the language neither ignores extra parameters nor the
instantiable has variable arguments length.the required parameter types parameterTypes)Creates a new instantiable type with a given parameter types. |
| public static TypeDescriptor | Returns: the intersection type containing the given typesthe types to include in the intersection types)Creates a new intersection type. |
| private static TypeDescriptor. | intersectionImpl(final Collection<? extends TypeDescriptor.
the intersection components typeImpls)Normalization of a newly created |
| private static boolean | |
| private static boolean | |
| public boolean | Returns: true if the fromType is assignable to this typethe type to assign fromType)Checks if the given type is assignable to this type. |
| private static boolean | isIncludedInWildCard(TypeDescriptor.
|
| public boolean | Returns: true if this type represents an intersection typeChecks if this |
| private static TypeDescriptor | |
| public boolean | Returns: true if this type represents an union typeChecks if this |
| public static TypeDescriptor | Returns: an iterable type with given componentthe required component type. componentType)Creates a new iterable type with given component type. |
| public static TypeDescriptor | Returns: an iterator type with given componentthe required component type. componentType)Creates a new iterator type with given component type. |
| public TypeDescriptor | subtract(TypeDescriptor
the type to remove. toRemove)Creates a new type by removing the given type from this type. |
| private static TypeDescriptor. | subtractComposite(TypeDescriptor.
|
| private static TypeDescriptor. | subtractImpl(TypeDescriptor.
|
| private static Set | subtractImpl(Set<TypeDescriptor.
|
| private static TypeDescriptor. | subtractParameterized(TypeDescriptor.
|
| public String | |
| public static TypeDescriptor | Returns: the union type containing the given typesthe types to include in the union types)Creates a new union type. |
| private static TypeDescriptor. |