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, typeFields 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 TypeMethodDescriptionbooleanintinthashCode()voidsetFieldDeclarators(BaseFieldDeclarator fieldDeclarators) voidsetFirstLineNumber(int firstLineNumber) voidsetFlags(int flags) toString()Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.FieldDeclaration
accept, getAnnotationReferences, getFieldDeclarators, getFlags, getTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
acceptMethods 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:
getFirstLineNumberin interfaceClassFileMemberDeclaration
-
setFirstLineNumber
public void setFirstLineNumber(int firstLineNumber) -
equals
- Overrides:
equalsin classFieldDeclaration
-
hashCode
public int hashCode()- Overrides:
hashCodein classFieldDeclaration
-
toString
- Overrides:
toStringin classFieldDeclaration
-