|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jaxb.javamodel.reflection.JavaClassImpl
public class JavaClassImpl
INTERNAL:
Purpose:A wrapper class for a JDK Class. This implementation of the TopLink JAXB 2.0 Java model simply makes reflective calls on the underlying JDK object.
Responsibilities:
JavaClass
,
Class
Field Summary | |
---|---|
protected java.lang.Class |
jClass
|
protected java.lang.reflect.ParameterizedType |
jType
|
Constructor Summary | |
---|---|
JavaClassImpl(java.lang.Class javaClass)
|
|
JavaClassImpl(java.lang.reflect.ParameterizedType javaType,
java.lang.Class javaClass)
|
Method Summary | |
---|---|
java.util.Collection |
getActualTypeArguments()
|
JavaAnnotation |
getAnnotation(JavaClass arg0)
Assumes JavaType is a JavaClassImpl instance |
java.util.Collection |
getAnnotations()
|
JavaClass |
getComponentType()
|
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0)
|
java.util.Collection |
getDeclaredAnnotations()
|
java.util.Collection |
getDeclaredClasses()
|
JavaField |
getDeclaredField(java.lang.String arg0)
|
java.util.Collection |
getDeclaredFields()
|
JavaMethod |
getDeclaredMethod(java.lang.String arg0,
JavaClass[] arg1)
Assumes JavaType[] contains JavaClassImpl instances |
java.util.Collection |
getDeclaredMethods()
|
JavaField |
getField(java.lang.String arg0)
|
java.util.Collection |
getFields()
|
java.lang.Class |
getJavaClass()
|
JavaMethod |
getMethod(java.lang.String arg0,
JavaClass[] arg1)
Assumes JavaType[] contains JavaClassImpl instances |
java.util.Collection |
getMethods()
|
int |
getModifiers()
|
java.lang.String |
getName()
|
JavaClass |
getOwningClass()
|
JavaPackage |
getPackage()
|
java.lang.String |
getPackageName()
|
java.lang.String |
getQualifiedName()
|
java.lang.String |
getRawName()
|
JavaClass |
getSuperclass()
|
boolean |
hasActualTypeArguments()
|
boolean |
isAbstract()
|
boolean |
isAnnotation()
|
boolean |
isArray()
|
boolean |
isAssignableFrom(JavaClass arg0)
Assumes JavaType is a JavaClassImpl instance |
boolean |
isEnum()
|
boolean |
isFinal()
|
boolean |
isInterface()
|
boolean |
isMemberClass()
|
boolean |
isPrimitive()
|
boolean |
isPrivate()
|
boolean |
isProtected()
|
boolean |
isPublic()
|
boolean |
isStatic()
|
boolean |
isSynthetic()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.reflect.ParameterizedType jType
protected java.lang.Class jClass
Constructor Detail |
---|
public JavaClassImpl(java.lang.Class javaClass)
public JavaClassImpl(java.lang.reflect.ParameterizedType javaType, java.lang.Class javaClass)
Method Detail |
---|
public java.util.Collection getActualTypeArguments()
getActualTypeArguments
in interface JavaClass
public java.lang.String toString()
toString
in class java.lang.Object
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation
in interface JavaHasAnnotations
public java.util.Collection getAnnotations()
getAnnotations
in interface JavaHasAnnotations
public java.util.Collection getDeclaredClasses()
getDeclaredClasses
in interface JavaClass
public JavaField getDeclaredField(java.lang.String arg0)
getDeclaredField
in interface JavaClass
public java.util.Collection getDeclaredFields()
getDeclaredFields
in interface JavaClass
public JavaMethod getDeclaredMethod(java.lang.String arg0, JavaClass[] arg1)
getDeclaredMethod
in interface JavaClass
public java.util.Collection getDeclaredMethods()
getDeclaredMethods
in interface JavaClass
public JavaField getField(java.lang.String arg0)
public java.util.Collection getFields()
public java.lang.Class getJavaClass()
public JavaMethod getMethod(java.lang.String arg0, JavaClass[] arg1)
getMethod
in interface JavaClass
public java.util.Collection getMethods()
getMethods
in interface JavaClass
public java.lang.String getName()
getName
in interface JavaClass
public JavaPackage getPackage()
getPackage
in interface JavaClass
public java.lang.String getPackageName()
getPackageName
in interface JavaClass
public java.lang.String getQualifiedName()
getQualifiedName
in interface JavaClass
public java.lang.String getRawName()
getRawName
in interface JavaClass
public JavaClass getSuperclass()
getSuperclass
in interface JavaClass
public boolean hasActualTypeArguments()
hasActualTypeArguments
in interface JavaClass
public JavaClass getOwningClass()
public boolean isAnnotation()
isAnnotation
in interface JavaClass
public boolean isArray()
isArray
in interface JavaClass
public boolean isAssignableFrom(JavaClass arg0)
isAssignableFrom
in interface JavaClass
public boolean isEnum()
isEnum
in interface JavaClass
public boolean isInterface()
isInterface
in interface JavaClass
public boolean isMemberClass()
isMemberClass
in interface JavaClass
public boolean isPrimitive()
isPrimitive
in interface JavaClass
public boolean isAbstract()
isAbstract
in interface JavaClass
public boolean isPrivate()
isPrivate
in interface JavaClass
public boolean isProtected()
isProtected
in interface JavaClass
public boolean isPublic()
isPublic
in interface JavaClass
public boolean isStatic()
isStatic
in interface JavaClass
public int getModifiers()
getModifiers
in interface JavaClass
public boolean isFinal()
isFinal
in interface JavaClass
public boolean isSynthetic()
isSynthetic
in interface JavaClass
public JavaClass getComponentType()
getComponentType
in interface JavaClass
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |