public static class GeneralAnnoInfo.AnnotationInvocationHandler<T extends Annotation> extends Object implements Annotation, InvocationHandler, Serializable
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
boolean |
equals(Object obj) |
int |
hashCode()
Calculates the hash code of this annotation proxy as described in
Annotation.hashCode() . |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static <T extends Annotation> |
proxy(GeneralAnnoInfo info) |
static <T extends Annotation> |
proxy(GeneralAnnoInfo info,
ClassLoader cl) |
String |
toString() |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public boolean equals(Object obj)
equals
in interface Annotation
equals
in class Object
public int hashCode()
Calculates the hash code of this annotation proxy as described in Annotation.hashCode()
.
hashCode
in interface Annotation
hashCode
in class Object
Annotation.hashCode()
public String toString()
toString
in interface Annotation
toString
in class Object
public static <T extends Annotation> T proxy(GeneralAnnoInfo info)
public static <T extends Annotation> T proxy(GeneralAnnoInfo info, ClassLoader cl)
Copyright © 2014-2017 ActFramework. All Rights Reserved.