Skip navigation links

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

E13403-10


javax.ide.model.java.declaration
Class Declaration.DeclarationKind

java.lang.Object
  extended by javax.ide.model.java.declaration.Declaration.DeclarationKind

Enclosing interface:
Declaration

public static final class Declaration.DeclarationKind
extends java.lang.Object

Identifies a Declaration.


Field Summary
static Declaration.DeclarationKind ANNOTATION
          An annotation.
static Declaration.DeclarationKind ARRAY_TYPE
          An array type.
static Declaration.DeclarationKind CLASS
          A class, interface, enum, or annotation type.
static Declaration.DeclarationKind CONSTRUCTOR
          A field or enum constant.
static Declaration.DeclarationKind FIELD
          A field or enum constant.
static Declaration.DeclarationKind LOCAL_VARIABLE
          A method, constructor, or annotation element.
static Declaration.DeclarationKind METHOD
          A method, constructor, or annotation element.
static Declaration.DeclarationKind PACKAGE
          A method, constructor, or annotation element.
static Declaration.DeclarationKind PARAMETER
          A parameter.
static Declaration.DeclarationKind TYPE_VARIABLE
          A type variable.
static Declaration.DeclarationKind WILDCARD_TYPE
          A wildcard type.

 

Method Summary
 int compareTo(Declaration.DeclarationKind other)
           
 boolean equals(java.lang.Object other)
           
 java.lang.Class getDeclaringClass()
           
 java.lang.Class getExpressionClass()
           
 int hashCode()
           
 java.lang.String name()
           
 int ordinal()
           
 java.lang.String toString()
           
static Declaration.DeclarationKind valueOf(java.lang.Class ignored, java.lang.String name)
           
static Declaration.DeclarationKind valueOf(int ordinal)
           
static Declaration.DeclarationKind[] values()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

ANNOTATION

public static final Declaration.DeclarationKind ANNOTATION
An annotation.

ARRAY_TYPE

public static final Declaration.DeclarationKind ARRAY_TYPE
An array type.

CLASS

public static final Declaration.DeclarationKind CLASS
A class, interface, enum, or annotation type.

CONSTRUCTOR

public static final Declaration.DeclarationKind CONSTRUCTOR
A field or enum constant.

FIELD

public static final Declaration.DeclarationKind FIELD
A field or enum constant.

LOCAL_VARIABLE

public static final Declaration.DeclarationKind LOCAL_VARIABLE
A method, constructor, or annotation element.

METHOD

public static final Declaration.DeclarationKind METHOD
A method, constructor, or annotation element.

PACKAGE

public static final Declaration.DeclarationKind PACKAGE
A method, constructor, or annotation element.

PARAMETER

public static final Declaration.DeclarationKind PARAMETER
A parameter.

TYPE_VARIABLE

public static final Declaration.DeclarationKind TYPE_VARIABLE
A type variable.

WILDCARD_TYPE

public static final Declaration.DeclarationKind WILDCARD_TYPE
A wildcard type.

Method Detail

getExpressionClass

public java.lang.Class getExpressionClass()

name

public java.lang.String name()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ordinal

public int ordinal()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(Declaration.DeclarationKind other)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

getDeclaringClass

public java.lang.Class getDeclaringClass()

valueOf

public static Declaration.DeclarationKind valueOf(int ordinal)

valueOf

public static Declaration.DeclarationKind valueOf(java.lang.Class ignored,
                                                  java.lang.String name)

values

public static Declaration.DeclarationKind[] values()

Skip navigation links

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

E13403-10


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