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
-
-
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 booleanequals(java.lang.Object o)java.lang.Packageget()java.lang.StringgetName()inthashCode()-
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
-
-
-
-
Constructor Detail
-
PackageInfo
public PackageInfo(java.lang.Package pkg)
-
PackageInfo
public PackageInfo(java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-