Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.javatools.parser.java.v2.model
Interface SourceFieldDeclaration

All Superinterfaces:
Element, JavaElement, JavaHasAnnotations, JavaHasName, JavaHasType, JavaMember, SourceElement, SourceHasModifiers, SourceHasType, SourceMember, SourceVariableDeclaration

public interface SourceFieldDeclaration
extends SourceMember, SourceVariableDeclaration

A field (or enum constant) declaration.


Field Summary
static SourceFieldDeclaration[] EMPTY_ARRAY
           
 
Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT
 
Method Summary
 boolean isAbstract()
          True if this is abstract.
 boolean isPrivate()
          True if this is private.
 boolean isProtected()
          True if this is protected.
 boolean isPublic()
          True if this is public.
 boolean isStatic()
          True if this is static.
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceMember
getDocComment, getEnclosingClass, hasDeprecatedTag, hasHiddenTag, setDocComment
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaMember
getOwningClass, getUniqueIdentifier, isPackagePrivate
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType
getResolvedType, getUnresolvedType
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasName
getName
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasAnnotations
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceVariableDeclaration
getSourceType, getVariables
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceHasModifiers
addModifiers, getModifiers, getSourceAnnotations, removeModifiers, setModifiers
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceHasType
setSourceType
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf
 

Field Detail

EMPTY_ARRAY

static final SourceFieldDeclaration[] EMPTY_ARRAY
Method Detail

isPublic

boolean isPublic()
True if this is public.

Specified by:
isPublic in interface JavaMember
Returns:
True if element is modified with "final".

isProtected

boolean isProtected()
True if this is protected.

Specified by:
isProtected in interface JavaMember
Returns:
True if element is modified with "protected".

isPrivate

boolean isPrivate()
True if this is private.

Specified by:
isPrivate in interface JavaMember
Returns:
True if element is modified with "private".

isStatic

boolean isStatic()
True if this is static.

Specified by:
isStatic in interface JavaMember
Returns:
True if element is modified with "static".

isAbstract

boolean isAbstract()
True if this is abstract.

Specified by:
isAbstract in interface JavaMember
Returns:
True if element is modified with "abstract".

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.