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 BaseAnnotationReferenceannotationReferencesprotected BaseFieldDeclaratorfieldDeclaratorsprotected intflagsprotected Typetype-
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 voidaccept(DeclarationVisitor visitor)booleanequals(java.lang.Object o)BaseAnnotationReferencegetAnnotationReferences()BaseFieldDeclaratorgetFieldDeclarators()intgetFlags()TypegetType()inthashCode()java.lang.StringtoString()-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
acceptin interfaceDeclaration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-