Class FieldDeclaration
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.declaration.FieldDeclaration
-
- All Implemented Interfaces:
java.lang.Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,Base<MemberDeclaration>
- Direct Known Subclasses:
ClassFileFieldDeclaration
public class FieldDeclaration extends java.lang.Object implements MemberDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseAnnotationReference
annotationReferences
protected BaseFieldDeclarator
fieldDeclarators
protected int
flags
protected Type
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 FieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators)
FieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
boolean
equals(java.lang.Object o)
BaseAnnotationReference
getAnnotationReferences()
BaseFieldDeclarator
getFieldDeclarators()
int
getFlags()
Type
getType()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
annotationReferences
protected BaseAnnotationReference annotationReferences
-
flags
protected int flags
-
type
protected Type type
-
fieldDeclarators
protected BaseFieldDeclarator fieldDeclarators
-
-
Constructor Detail
-
FieldDeclaration
public FieldDeclaration(int flags, Type type, BaseFieldDeclarator fieldDeclarators)
-
FieldDeclaration
public FieldDeclaration(BaseAnnotationReference annotationReferences, int flags, Type type, BaseFieldDeclarator fieldDeclarators)
-
-
Method Detail
-
getFlags
public int getFlags()
-
getAnnotationReferences
public BaseAnnotationReference getAnnotationReferences()
-
getType
public Type getType()
-
getFieldDeclarators
public BaseFieldDeclarator getFieldDeclarators()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-