|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.devkit.model.code.Type
org.mule.devkit.model.code.TypeReference
org.mule.devkit.model.code.NullType
public final class NullType
Special class object that represents the type of "null".
Use this class with care.
| Field Summary |
|---|
| Fields inherited from class org.mule.devkit.model.code.TypeReference |
|---|
EMPTY_ARRAY |
| Method Summary | |
|---|---|
TypeReference |
_extends()
Gets the super class of this class. |
Iterator<TypeReference> |
_implements()
Iterates all super interfaces directly implemented by this class/interface. |
GeneratedPackage |
_package()
Gets the package to which this class belongs. |
String |
fullName()
Gets the full name of the type. |
boolean |
isAbstract()
Checks if this class is an abstract class. |
boolean |
isInterface()
Checks if this object represents an interface. |
String |
name()
Gets the name of this class. |
protected TypeReference |
substituteParams(TypeVariable[] variables,
List<TypeReference> bindings)
Substitutes the type variables with their actual arguments. |
| Methods inherited from class org.mule.devkit.model.code.TypeReference |
|---|
array, array, boxify, erasure, generate, getBaseClass, getBaseClass, getPrimitiveType, getTypeParameters, isAssignableFrom, isParameterized, narrow, narrow, narrow, narrow, narrow, narrow, narrow, outer, owner, staticInvoke, staticInvoke, staticRef, staticRef, toString, typeParams, unboxify, wildcard |
| Methods inherited from class org.mule.devkit.model.code.Type |
|---|
binaryName, compareTo, dotclass, elementType, equals, hashCode, isArray, isPrimitive, isReference, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String name()
TypeReference
name in class TypeReferencejava.lang.String.public String fullName()
Type
fullName in class Typepublic GeneratedPackage _package()
TypeReference
_package in class TypeReferencepublic TypeReference _extends()
TypeReference
_extends in class TypeReferenceTypeReference.
Even if no super class is given explicitly or this TypeReference
is not a class, this method still returns
TypeReference for Object.
If this TypeReference represents Object, return null.public Iterator<TypeReference> _implements()
TypeReference
_implements in class TypeReferenceTypeReference objects that represents those interfaces
implemented by this object.public boolean isInterface()
TypeReference
isInterface in class TypeReferencepublic boolean isAbstract()
TypeReference
isAbstract in class TypeReference
protected TypeReference substituteParams(TypeVariable[] variables,
List<TypeReference> bindings)
TypeReferenceTypeReference
for Map<String,Map<Integer>>.
This method needs to work recursively.
substituteParams in class TypeReference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||