org.jboss.deployers.plugins.annotations
Class ClassSignaturePair
java.lang.Object
org.jboss.util.JBossObject
org.jboss.deployers.plugins.annotations.ClassSignaturePair
- All Implemented Interfaces:
- Cloneable, org.jboss.util.JBossInterface
public class ClassSignaturePair
- extends org.jboss.util.JBossObject
Class name and signature pair.
With those two we can re-create annotation value.
If the keepAnnotations flag is on in DefaultAnnotationEnvironment
we cache the annotation value from GenericAnnotationResourceVisitor.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
ClassSignaturePair
public ClassSignaturePair(String className,
org.jboss.metadata.spi.signature.Signature signature)
ClassSignaturePair
public ClassSignaturePair(String className,
org.jboss.metadata.spi.signature.Signature signature,
Annotation annotation)
getClassName
public String getClassName()
- Get the classname.
- Returns:
- the classname
getSignature
public org.jboss.metadata.spi.signature.Signature getSignature()
- Get the signature.
- Returns:
- the signature
getAnnotation
public Annotation getAnnotation()
- Get the annotation.
- Returns:
- the annotation
getHashCode
protected int getHashCode()
- Overrides:
getHashCode
in class org.jboss.util.JBossObject
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.