public abstract class AbstractDescription
extends java.lang.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.
|
java.lang.String |
getIdentifier() |
java.lang.String |
getSource() |
void |
setSource(java.lang.String location) |
protected final ScannedAnnotation annotation
public AbstractDescription(ScannedAnnotation annotation)
annotation
- The corresponding annotation.public ScannedAnnotation getAnnotation()
null
public void setSource(java.lang.String location)
public java.lang.String getSource()
public java.lang.String getIdentifier()
public abstract AbstractDescription clone()
clone
in class java.lang.Object
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.