org.eclipse.persistence.jaxb.javamodel.reflection
public class JavaPackageImpl extends Object implements JavaPackage
Purpose:A wrapper class for a JDK Package. This implementation of the TopLink JAXB 2.0 Java model simply makes reflective calls on the underlying JDK object.
Responsibilities:
JavaPackage
,
Package
Constructor and Description |
---|
JavaPackageImpl(Package javaPackage,
JavaModelImpl javaModelImpl) |
Modifier and Type | Method and Description |
---|---|
AnnotatedElement |
getAnnotatedElement() |
JavaAnnotation |
getAnnotation(JavaClass arg0)
Assumes JavaType is a JavaClassImpl instance
|
Collection |
getAnnotations() |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0) |
Collection |
getDeclaredAnnotations() |
String |
getName() |
String |
getQualifiedName() |
public JavaPackageImpl(Package javaPackage, JavaModelImpl javaModelImpl)
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation
in interface JavaHasAnnotations
public Collection getAnnotations()
getAnnotations
in interface JavaHasAnnotations
public String getName()
public String getQualifiedName()
getQualifiedName
in interface JavaPackage
public AnnotatedElement getAnnotatedElement()
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public Collection getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations