JavaModel
, Serializable
AbstractJavaEntity
, DefaultJavaPackage
, DefaultJavaParameter
public abstract class AbstractBaseJavaEntity extends AbstractJavaModel implements Serializable
Constructor | Description |
---|---|
AbstractBaseJavaEntity() |
Modifier and Type | Method | Description |
---|---|---|
List<JavaAnnotation> |
getAnnotations() |
|
String |
getComment() |
|
JavaClass |
getDeclaringClass() |
Not every entity has a parentClass, but AnnotationFieldRef requires access to it.
|
String |
getNamedParameter(String tagName,
String parameterName) |
Convenience method for
getTagByName(String).getNamedParameter(String) that also checks for null tag. |
JavaSource |
getSource() |
|
DocletTag |
getTagByName(String name) |
|
List<DocletTag> |
getTags() |
|
List<DocletTag> |
getTagsByName(String name) |
|
void |
setAnnotations(List<JavaAnnotation> annotations) |
|
void |
setComment(String comment) |
|
void |
setSource(JavaSource source) |
|
void |
setTags(List<DocletTag> tagList) |
getLineNumber, getModelWriter, setLineNumber, setModelWriterFactory
getCodeBlock
public JavaSource getSource()
public void setSource(JavaSource source)
public List<JavaAnnotation> getAnnotations()
public void setAnnotations(List<JavaAnnotation> annotations)
public JavaClass getDeclaringClass()
public String getComment()
public void setComment(String comment)
public String getNamedParameter(String tagName, String parameterName)
getTagByName(String).getNamedParameter(String)
that also checks for null tag.tagName
- the name of the docletTagparameterName
- the name of the parameterCopyright © 2002–2018. All rights reserved.