Package org.apache.xbean.finder
Class AnnotationFinder.PackageInfo
- java.lang.Object
-
- org.apache.xbean.finder.AnnotationFinder.Annotatable
-
- org.apache.xbean.finder.AnnotationFinder.PackageInfo
-
- All Implemented Interfaces:
AnnotationFinder.Info
- Enclosing class:
- AnnotationFinder
public class AnnotationFinder.PackageInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationFinder.ClassInfo
info
private java.lang.String
name
private java.lang.Package
pkg
-
Constructor Summary
Constructors Constructor Description PackageInfo(java.lang.Package pkg)
PackageInfo(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Package
get()
java.lang.String
getName()
int
hashCode()
-
Methods inherited from class org.apache.xbean.finder.AnnotationFinder.Annotatable
getAnnotations, getDeclaredAnnotations, getMetaAnnotationName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.xbean.finder.AnnotationFinder.Info
getAnnotations, getDeclaredAnnotations, getMetaAnnotationName
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
info
private final AnnotationFinder.ClassInfo info
-
pkg
private final java.lang.Package pkg
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAnnotationFinder.Info
-
get
public java.lang.Package get() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-