| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if equals.
|
JClass |
getComponentType()
Returns the component for a class.
|
JMethod[] |
getConstructors()
Returns the constructors
|
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 class name.
|
java.lang.String |
getPrintName()
Returns the printable name.
|
java.lang.String |
getShortName()
Returns a printable version of a class.
|
JClass |
getSuperClass()
Returns the superclass.
|
int |
hashCode()
Returns the hash code
|
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.
|
java.lang.String |
toString() |
getActualTypeArguments, getConstructor, getJavaClass, getRawType, getSimpleNamegetAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresentpublic java.lang.String getName()
public boolean isPrimitive()
isPrimitive in interface JTypeisPrimitive in class JClasspublic boolean isPublic()
public boolean isAbstract()
isAbstract in interface JTypeisAbstract in class JClasspublic boolean isFinal()
public boolean isInterface()
isInterface in interface JTypeisInterface in class JClasspublic JClass getSuperClass()
getSuperClass in interface JTypegetSuperClass in class JClasspublic JClass[] getInterfaces()
getInterfaces in interface JTypegetInterfaces in class JClasspublic JMethod[] getConstructors()
getConstructors in class JClasspublic boolean isArray()
public JClass getComponentType()
getComponentType in interface JTypegetComponentType in class JClasspublic boolean isAssignableTo(java.lang.Class cl)
isAssignableTo in interface JTypeisAssignableTo in class JClasspublic boolean isAssignableFrom(java.lang.Class cl)
isAssignableFrom in interface JTypeisAssignableFrom in class JClasspublic boolean isAssignableFrom(JClass cl)
isAssignableFrom in interface JTypeisAssignableFrom in class JClasspublic JMethod[] getDeclaredMethods()
getDeclaredMethods in interface JTypegetDeclaredMethods in class JClasspublic JMethod[] getMethods()
getMethods in interface JTypegetMethods in class JClasspublic JMethod getMethod(java.lang.String name, JClass[] param)
public JField[] getDeclaredFields()
getDeclaredFields in interface JTypegetDeclaredFields in class JClasspublic JField[] getFields()
public java.lang.String getPrintName()
getPrintName in interface JTypegetPrintName in class JClasspublic java.lang.String getShortName()
getShortName in class JClasspublic boolean equals(java.lang.Object o)