java.lang.Object
com.thoughtworks.qdox.model.impl.AbstractJavaModel
com.thoughtworks.qdox.model.impl.AbstractBaseJavaEntity
com.thoughtworks.qdox.model.impl.AbstractJavaEntity
- 所有已实现的接口:
JavaModel,Serializable
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Not every entity has a parentClass, but AnnotationFieldRef requires access to it.Return list of modifiers as Strings.getName()booleanEquivalent ofModifier.isAbstract(int)booleanisFinal()Equivalent ofModifier.isFinal(int)booleanisNative()Equivalent ofModifier.isNative(int)booleanEquivalent ofModifier.isPrivate(int)booleanEquivalent ofModifier.isProtected(int)booleanisPublic()Equivalent ofModifier.isPublic(int)booleanisStatic()Equivalent ofModifier.isStatic(int)booleanEquivalent ofModifier.isStrict(int)booleanEquivalent ofModifier.isSynchronized(int)booleanEquivalent ofModifier.isTransient(int)booleanEquivalent ofModifier.isVolatile(int)voidsetDeclaringClass(JavaClass declaringClass) voidsetModifiers(List<String> modifiers) void从类继承的方法 com.thoughtworks.qdox.model.impl.AbstractBaseJavaEntity
getAnnotations, getComment, getNamedParameter, getSource, getTagByName, getTags, getTagsByName, setAnnotations, setComment, setSource, setTags从类继承的方法 com.thoughtworks.qdox.model.impl.AbstractJavaModel
getLineNumber, getModelWriter, setLineNumber, setModelWriterFactory从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.thoughtworks.qdox.model.JavaModel
getCodeBlock, getLineNumber
-
构造器详细资料
-
AbstractJavaEntity
public AbstractJavaEntity()
-
-
方法详细资料
-
getModifiers
Return list of modifiers as Strings. (public, private, protected, final, abstract, static)- 返回:
- a list of modifiers, never
null
-
setModifiers
-
isAbstract
public boolean isAbstract()Equivalent ofModifier.isAbstract(int)- 返回:
trueif entity is abstract, otherwisefalse
-
isPublic
public boolean isPublic()Equivalent ofModifier.isPublic(int)- 返回:
trueif entity is public, otherwisefalse
-
isPrivate
public boolean isPrivate()Equivalent ofModifier.isPrivate(int)- 返回:
trueif entity is private, otherwisefalse
-
isProtected
public boolean isProtected()Equivalent ofModifier.isProtected(int)- 返回:
trueif entity is protected, otherwisefalse
-
isStatic
public boolean isStatic()Equivalent ofModifier.isStatic(int)- 返回:
trueif entity is static, otherwisefalse
-
isFinal
public boolean isFinal()Equivalent ofModifier.isFinal(int)- 返回:
trueif entity is final, otherwisefalse
-
isSynchronized
public boolean isSynchronized()Equivalent ofModifier.isSynchronized(int)- 返回:
trueif entity is sunchronized, otherwisefalse
-
isTransient
public boolean isTransient()Equivalent ofModifier.isTransient(int)- 返回:
trueif entity is transient, otherwisefalse
-
isVolatile
public boolean isVolatile()Equivalent ofModifier.isVolatile(int)- 返回:
trueif entity is volatile, otherwisefalse- 从以下版本开始:
- 1.4
-
isNative
public boolean isNative()Equivalent ofModifier.isNative(int)- 返回:
trueif entity is native, otherwisefalse- 从以下版本开始:
- 1.4
-
isStrictfp
public boolean isStrictfp()Equivalent ofModifier.isStrict(int)- 返回:
trueif entity is strictfp, otherwisefalse- 从以下版本开始:
- 1.4
-
setDeclaringClass
-
getDeclaringClass
Not every entity has a parentClass, but AnnotationFieldRef requires access to it. When used with JavaClass, don't confuse this with getSuperClass()- 覆盖:
getDeclaringClass在类中AbstractBaseJavaEntity- 返回:
- the surrounding class
-
getName
-
setName
-