public abstract class AbstractJavaEntity extends AbstractBaseJavaEntity implements JavaModel
| Constructor and Description |
|---|
AbstractJavaEntity() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getModifiers()
Return list of modifiers as Strings.
|
String |
getName() |
JavaClass |
getParentClass()
Not every entity has a parentClass, but AnnotationFieldRef requires access to it.
|
boolean |
isAbstract()
Equivalent of
Modifier.isAbstract(int) |
boolean |
isFinal()
Equivalent of
Modifier.isFinal(int) |
boolean |
isNative()
Equivalent of
Modifier.isNative(int) |
boolean |
isPrivate()
Equivalent of
Modifier.isPrivate(int) |
boolean |
isProtected()
Equivalent of
Modifier.isProtected(int) |
boolean |
isPublic()
Equivalent of
Modifier.isPublic(int) |
boolean |
isStatic()
Equivalent of
Modifier.isStatic(int) |
boolean |
isStrictfp()
Equivalent of
Modifier.isStrict(int) |
boolean |
isSynchronized()
Equivalent of
Modifier.isSynchronized(int) |
boolean |
isTransient()
Equivalent of
Modifier.isTransient(int) |
boolean |
isVolatile()
Equivalent of
Modifier.isVolatile(int) |
void |
setModifiers(List<String> modifiers) |
void |
setName(String name) |
void |
setParentClass(JavaClass parentClass) |
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByName, setAnnotations, setComment, setTagsgetLineNumber, getModelWriter, getSource, setLineNumber, setModelWriterFactory, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCodeBlock, getLineNumber, getSourcepublic List<String> getModifiers()
nullpublic boolean isAbstract()
Modifier.isAbstract(int)true if entity is abstract, otherwise falsepublic boolean isPublic()
Modifier.isPublic(int)true if entity is public, otherwise falsepublic boolean isPrivate()
Modifier.isPrivate(int)true if entity is private, otherwise falsepublic boolean isProtected()
Modifier.isProtected(int)true if entity is protected, otherwise falsepublic boolean isStatic()
Modifier.isStatic(int)true if entity is static, otherwise falsepublic boolean isFinal()
Modifier.isFinal(int)true if entity is final, otherwise falsepublic boolean isSynchronized()
Modifier.isSynchronized(int)true if entity is sunchronized, otherwise falsepublic boolean isTransient()
Modifier.isTransient(int)true if entity is transient, otherwise falsepublic boolean isVolatile()
Modifier.isVolatile(int)true if entity is volatile, otherwise falsepublic boolean isNative()
Modifier.isNative(int)true if entity is native, otherwise falsepublic boolean isStrictfp()
Modifier.isStrict(int)true if entity is strictfp, otherwise falsepublic void setParentClass(JavaClass parentClass)
public JavaClass getParentClass()
AbstractBaseJavaEntitygetParentClass in class AbstractBaseJavaEntitypublic String getName()
public void setName(String name)
Copyright © 2002–2016. All rights reserved.