Interface JavaClass
- All Superinterfaces:
JavaHasAnnotations
- All Known Implementing Classes:
JavaClassImpl
,OXMJavaClassImpl
,OXMJAXBElementImpl
,OXMObjectFactoryImpl
,XJCJavaClassImpl
INTERNAL:
Purpose:A TopLink JAXB 2.0 Java model representation of a JDK Class.
Responsibilities:
- Provide information about a given implementation's underlying class, such as name, package, method/field names and parameters, annotations, etc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetConstructor
(JavaClass[] parameterTypes) getDeclaredConstructor
(JavaClass[] parameterTypes) getDeclaredField
(String arg0) getDeclaredMethod
(String arg0, JavaClass[] arg1) Type[]
int
getName()
boolean
boolean
boolean
boolean
isArray()
boolean
isAssignableFrom
(JavaClass arg0) boolean
isEnum()
boolean
isFinal()
boolean
boolean
boolean
boolean
boolean
boolean
isPublic()
boolean
isStatic()
boolean
Methods inherited from interface org.eclipse.persistence.jaxb.javamodel.JavaHasAnnotations
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations
-
Method Details
-
getActualTypeArguments
Collection getActualTypeArguments() -
getComponentType
JavaClass getComponentType() -
getQualifiedName
String getQualifiedName() -
getRawName
String getRawName() -
hasActualTypeArguments
boolean hasActualTypeArguments() -
getDeclaredClasses
Collection getDeclaredClasses() -
getDeclaredField
-
getDeclaredFields
Collection getDeclaredFields() -
getDeclaredMethod
-
getDeclaredMethods
Collection getDeclaredMethods() -
getMethod
-
getMethods
Collection getMethods() -
getConstructor
-
getConstructors
Collection getConstructors() -
getDeclaredConstructor
-
getDeclaredConstructors
Collection getDeclaredConstructors() -
getModifiers
int getModifiers() -
getName
String getName() -
getPackage
JavaPackage getPackage() -
getPackageName
String getPackageName() -
getSuperclass
JavaClass getSuperclass() -
getGenericInterfaces
Type[] getGenericInterfaces() -
getGenericSuperclass
Type getGenericSuperclass() -
isAbstract
boolean isAbstract() -
isAnnotation
boolean isAnnotation() -
isArray
boolean isArray() -
isAssignableFrom
-
isEnum
boolean isEnum() -
isFinal
boolean isFinal() -
isInterface
boolean isInterface() -
isMemberClass
boolean isMemberClass() -
isPrimitive
boolean isPrimitive() -
isPrivate
boolean isPrivate() -
isProtected
boolean isProtected() -
isPublic
boolean isPublic() -
isStatic
boolean isStatic() -
isSynthetic
boolean isSynthetic() -
instanceOf
JavaClassInstanceOf instanceOf()
-