public class AnnotationFinder.PackageInfo extends AnnotationFinder.Annotatable implements AnnotationFinder.Info
Modifier and Type | Field and Description |
---|---|
private AnnotationFinder.ClassInfo |
info |
private java.lang.String |
name |
private java.lang.Package |
pkg |
Constructor and Description |
---|
PackageInfo(java.lang.Package pkg) |
PackageInfo(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Package |
get() |
java.lang.String |
getName() |
int |
hashCode() |
getAnnotations, getDeclaredAnnotations, getMetaAnnotationName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAnnotations, getDeclaredAnnotations, getMetaAnnotationName
private final java.lang.String name
private final AnnotationFinder.ClassInfo info
private final java.lang.Package pkg
public PackageInfo(java.lang.Package pkg)
public PackageInfo(java.lang.String name)
public java.lang.String getName()
getName
in interface AnnotationFinder.Info
public java.lang.Package get() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object