public final class NullType extends TypeReference
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
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.
|
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
binaryName, compareTo, dotclass, elementType, equals, hashCode, isArray, isPrimitive, isReference, parse
public String name()
TypeReference
name
in class TypeReference
java.lang.String
.public String fullName()
Type
public GeneratedPackage _package()
TypeReference
_package
in class TypeReference
public TypeReference _extends()
TypeReference
_extends
in class TypeReference
TypeReference
.
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 TypeReference
TypeReference
objects that represents those interfaces
implemented by this object.public boolean isInterface()
TypeReference
isInterface
in class TypeReference
public boolean isAbstract()
TypeReference
isAbstract
in class TypeReference
protected TypeReference substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
TypeReference
TypeReference
for Map<String,Map<Integer>>
.
This method needs to work recursively.substituteParams
in class TypeReference
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.