|
Javassist 3.15.0-GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.bytecode.annotation.AnnotationImpl
public class AnnotationImpl
Internal-use only. This is a helper class internally used for implementing
toAnnotationType()
in Annotation
.
Method Summary | |
---|---|
Annotation |
getAnnotation()
Obtains the internal data structure representing the annotation. |
String |
getTypeName()
Obtains the name of the annotation type. |
int |
hashCode()
Returns a hash code value for this object. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Executes a method invocation on a proxy instance. |
static Object |
make(ClassLoader cl,
Class clazz,
ClassPool cp,
Annotation anon)
Constructs an annotation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object make(ClassLoader cl, Class clazz, ClassPool cp, Annotation anon)
cl
- class loader for obtaining annotation types.clazz
- the annotation type.cp
- class pool for containing an annotation
type (or null).anon
- the annotation.
public String getTypeName()
public Annotation getAnnotation()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
toString()
, equals()
,
and hashCode()
are directly supplied by the
AnnotationImpl
. The annotationType()
method
is also available on the proxy instance.
invoke
in interface InvocationHandler
Throwable
public int hashCode()
hashCode
in class Object
|
Javassist 3.15.0-GA-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |