Class ClassFileFieldDeclaration
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.FieldDeclaration
-
- org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileFieldDeclaration
-
- All Implemented Interfaces:
java.lang.Iterable<MemberDeclaration>,BaseMemberDeclaration,Declaration,MemberDeclaration,ClassFileMemberDeclaration,Base<MemberDeclaration>
public class ClassFileFieldDeclaration extends FieldDeclaration implements ClassFileMemberDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description protected intfirstLineNumber-
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.FieldDeclaration
annotationReferences, fieldDeclarators, flags, type
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description ClassFileFieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators)ClassFileFieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators, int firstLineNumber)ClassFileFieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators)ClassFileFieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators, int firstLineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetFirstLineNumber()inthashCode()voidsetFieldDeclarators(BaseFieldDeclarator fieldDeclarators)voidsetFirstLineNumber(int firstLineNumber)voidsetFlags(int flags)java.lang.StringtoString()-
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.FieldDeclaration
accept, getAnnotationReferences, getFieldDeclarators, getFlags, getType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
-
Methods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
accept
-
-
-
-
Constructor Detail
-
ClassFileFieldDeclaration
public ClassFileFieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators)
-
ClassFileFieldDeclaration
public ClassFileFieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators, int firstLineNumber)
-
ClassFileFieldDeclaration
public ClassFileFieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators)
-
ClassFileFieldDeclaration
public ClassFileFieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators, int firstLineNumber)
-
-
Method Detail
-
setFlags
public void setFlags(int flags)
-
setFieldDeclarators
public void setFieldDeclarators(BaseFieldDeclarator fieldDeclarators)
-
getFirstLineNumber
public int getFirstLineNumber()
- Specified by:
getFirstLineNumberin interfaceClassFileMemberDeclaration
-
setFirstLineNumber
public void setFirstLineNumber(int firstLineNumber)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classFieldDeclaration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFieldDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFieldDeclaration
-
-