public abstract class AbstractDescription extends Object
AbstractDescription is the base class for all descriptions.| Modifier and Type | Field and Description |
|---|---|
protected ScannedAnnotation |
annotation
The corresponding annotation from the class file.
|
| Constructor and Description |
|---|
AbstractDescription(ScannedAnnotation annotation)
Create a new abstract description
|
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractDescription |
clone() |
ScannedAnnotation |
getAnnotation()
Get the annotation.
|
String |
getIdentifier() |
String |
getSource() |
void |
setSource(String location) |
protected final ScannedAnnotation annotation
public AbstractDescription(ScannedAnnotation annotation)
annotation - The corresponding annotation.public ScannedAnnotation getAnnotation()
nullpublic void setSource(String location)
public String getSource()
public String getIdentifier()
public abstract AbstractDescription clone()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.