Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


javax.ide.model.java.declaration
Interface MemberD

All Superinterfaces:
Declaration
All Known Subinterfaces:
ClassD, ConstructorD, ExecutableD, FieldD, GenericD, MethodD

public interface MemberD
extends Declaration

Represents a member declaration, part of a type declaration.


Nested Class Summary

 

Nested classes/interfaces inherited from interface javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind

 

Method Summary
 ClassD getEnclosingClass()
          Gets the declaring class.
 int getModifiers()
          Gets the modifiers for this member.
 boolean isFinal()
          True if this is modified with "final".
 boolean isPrivate()
          True if this is modified with "private".
 boolean isProtected()
          True if this is modified with "protected".
 boolean isPublic()
          True if this is modified with "public".
 boolean isStatic()
          True if this is modified with "static".

 

Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic

 

Method Detail

getEnclosingClass

ClassD getEnclosingClass()
Gets the declaring class.
Returns:
The class declaration for the declaring class.

getModifiers

int getModifiers()
Gets the modifiers for this member. May be decoded with Modifier.
Returns:
The modifier mask for this member.

isPublic

boolean isPublic()
True if this is modified with "public".
Returns:
True if this is modified with "public".

isPrivate

boolean isPrivate()
True if this is modified with "private".
Returns:
True if this is modified with "private".

isProtected

boolean isProtected()
True if this is modified with "protected".
Returns:
True if this is modified with "protected".

isStatic

boolean isStatic()
True if this is modified with "static".
Returns:
True if this is modified with "static".

isFinal

boolean isFinal()
True if this is modified with "final".
Returns:
True if this is modified with "final".

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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