public class PackageInfoImpl extends AnnotationHolder implements PackageInfo
Modifier and Type | Field and Description |
---|---|
protected String |
name
The package name
|
annotationMap, annotationsArray
Constructor and Description |
---|
PackageInfoImpl()
Create a new abstract PackageInfo.
|
PackageInfoImpl(String name)
Create a new package info
|
PackageInfoImpl(String name,
AnnotationValue[] annotations)
Create a new package info
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Get the package name
|
int |
hashCode() |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
protected String name
public PackageInfoImpl()
public PackageInfoImpl(String name)
name
- the package namepublic PackageInfoImpl(String name, AnnotationValue[] annotations)
name
- the package nameannotations
- the annotationspublic String getName()
PackageInfo
getName
in interface PackageInfo
protected void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
Copyright © 2017 JBoss by Red Hat. All rights reserved.