Modifier and Type | Method and Description |
---|---|
JType[] |
getActualTypeArguments()
Returns the parameter types.
|
JClass |
getComponentType()
Returns the component for a class.
|
JField[] |
getDeclaredFields()
Returns the declared fields
|
JMethod[] |
getDeclaredMethods()
Returns the declared methods
|
JField[] |
getFields()
Returns the fields
|
JClass[] |
getInterfaces()
Returns the interfaces.
|
JMethod |
getMethod(java.lang.String name,
JClass[] param)
Returns the matching method.
|
JMethod[] |
getMethods()
Returns the public methods
|
java.lang.String |
getName()
Returns the type name.
|
java.lang.String |
getPrintName()
Returns the print name.
|
JClass |
getRawType()
Returns the raw type.
|
JClass |
getSuperClass()
Returns the superclass.
|
boolean |
isAbstract()
Returns true for an abstract class
|
boolean |
isArray()
Returns true for an array class.
|
boolean |
isAssignableFrom(java.lang.Class cl)
Returns true if the jClass is assignable to the class.
|
boolean |
isAssignableFrom(JClass cl)
Returns true if the jClass is assignable to the class.
|
boolean |
isAssignableTo(java.lang.Class cl)
Returns true if the jClass is assignable to the class.
|
boolean |
isFinal()
Returns true for a final class
|
boolean |
isInterface()
Returns true for an interface
|
boolean |
isPrimitive()
Returns true for a primitive class.
|
boolean |
isPublic()
Returns true for a public class.
|
public java.lang.String getName()
public java.lang.String getPrintName()
getPrintName
in interface JType
public JType[] getActualTypeArguments()
getActualTypeArguments
in interface JType
public JClass getRawType()
getRawType
in interface JType
public boolean isPrimitive()
isPrimitive
in interface JType
public boolean isPublic()
public boolean isAbstract()
isAbstract
in interface JType
public boolean isFinal()
public boolean isInterface()
isInterface
in interface JType
public JClass getSuperClass()
getSuperClass
in interface JType
public JClass[] getInterfaces()
getInterfaces
in interface JType
public boolean isArray()
public JClass getComponentType()
getComponentType
in interface JType
public boolean isAssignableTo(java.lang.Class cl)
isAssignableTo
in interface JType
public boolean isAssignableFrom(java.lang.Class cl)
isAssignableFrom
in interface JType
public boolean isAssignableFrom(JClass cl)
isAssignableFrom
in interface JType
public JMethod[] getDeclaredMethods()
getDeclaredMethods
in interface JType
public JMethod[] getMethods()
getMethods
in interface JType
public JMethod getMethod(java.lang.String name, JClass[] param)
public JField[] getDeclaredFields()
getDeclaredFields
in interface JType