|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.bytecode.JAnnotationObject
com.caucho.bytecode.JClass
com.caucho.bytecode.JClassArray
public class JClassArray
Represents an introspected java class.
Field Summary |
---|
Fields inherited from class com.caucho.bytecode.JClass |
---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT, SHORT, STRING, VOID |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.caucho.bytecode.JClass |
---|
getActualTypeArguments, getConstructor, getJavaClass, getRawType, getSimpleName |
Methods inherited from class com.caucho.bytecode.JAnnotationObject |
---|
getAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
getName
in interface JType
getName
in class JClass
public boolean isPrimitive()
isPrimitive
in interface JType
isPrimitive
in class JClass
public boolean isPublic()
isPublic
in interface JType
isPublic
in class JClass
public boolean isAbstract()
isAbstract
in interface JType
isAbstract
in class JClass
public boolean isFinal()
isFinal
in interface JType
isFinal
in class JClass
public boolean isInterface()
isInterface
in interface JType
isInterface
in class JClass
public JClass getSuperClass()
getSuperClass
in interface JType
getSuperClass
in class JClass
public JClass[] getInterfaces()
getInterfaces
in interface JType
getInterfaces
in class JClass
public JMethod[] getConstructors()
getConstructors
in class JClass
public boolean isArray()
isArray
in interface JType
isArray
in class JClass
public JClass getComponentType()
getComponentType
in interface JType
getComponentType
in class JClass
public boolean isAssignableTo(java.lang.Class cl)
isAssignableTo
in interface JType
isAssignableTo
in class JClass
public boolean isAssignableFrom(java.lang.Class cl)
isAssignableFrom
in interface JType
isAssignableFrom
in class JClass
public boolean isAssignableFrom(JClass cl)
isAssignableFrom
in interface JType
isAssignableFrom
in class JClass
public JMethod[] getDeclaredMethods()
getDeclaredMethods
in interface JType
getDeclaredMethods
in class JClass
public JMethod[] getMethods()
getMethods
in interface JType
getMethods
in class JClass
public JMethod getMethod(java.lang.String name, JClass[] param)
getMethod
in interface JType
getMethod
in class JClass
public JField[] getDeclaredFields()
getDeclaredFields
in interface JType
getDeclaredFields
in class JClass
public JField[] getFields()
getFields
in interface JType
getFields
in class JClass
public java.lang.String getPrintName()
getPrintName
in interface JType
getPrintName
in class JClass
public java.lang.String getShortName()
getShortName
in class JClass
public int hashCode()
hashCode
in class JClass
public boolean equals(java.lang.Object o)
equals
in class JClass
public java.lang.String toString()
toString
in class JClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |