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:
Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,ClassFileMemberDeclaration
,Base<MemberDeclaration>
public class ClassFileFieldDeclaration
extends FieldDeclaration
implements ClassFileMemberDeclaration
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionClassFileFieldDeclaration
(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
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
void
setFieldDeclarators
(BaseFieldDeclarator fieldDeclarators) void
setFirstLineNumber
(int firstLineNumber) void
setFlags
(int flags) toString()
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
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
firstLineNumber
protected int firstLineNumber
-
-
Constructor Details
-
ClassFileFieldDeclaration
-
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 Details
-
setFlags
public void setFlags(int flags) -
setFieldDeclarators
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
-
setFirstLineNumber
public void setFirstLineNumber(int firstLineNumber) -
equals
- Overrides:
equals
in classFieldDeclaration
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFieldDeclaration
-
toString
- Overrides:
toString
in classFieldDeclaration
-