public class PluginAnnotation<T extends Annotation> extends Object
| Constructor and Description |
|---|
PluginAnnotation(Class<?> pluginClass,
Object plugin,
T annotation,
Field field) |
PluginAnnotation(Class<?> pluginClass,
Object plugin,
T annotation,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
T |
getAnnotation() |
Field |
getField() |
String |
getGroup() |
Method |
getMethod() |
Object |
getPlugin() |
Class<?> |
getPluginClass()
Return plugin class (the plugin to which this annotation belongs - not necessarily declaring class.
|
int |
hashCode() |
boolean |
isFallBack() |
boolean |
matches(DeploymentInfo deploymentInfo)
Matches.
|
boolean |
shouldCheckVersion() |
String |
toString() |
public PluginAnnotation(Class<?> pluginClass, Object plugin, T annotation, Method method)
public Class<?> getPluginClass()
public Object getPlugin()
public T getAnnotation()
public Method getMethod()
public Field getField()
public boolean shouldCheckVersion()
public boolean isFallBack()
public String getGroup()
public boolean matches(DeploymentInfo deploymentInfo)
deploymentInfo - the deployment infoCopyright © 2018. All rights reserved.