Skip navigation links

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

E17493-03


javax.ide.model.java.source.tree
Class ClassT.ClassKind

java.lang.Object
  extended by javax.ide.model.java.source.tree.ClassT.ClassKind

Enclosing interface:
ClassT

public static final class ClassT.ClassKind
extends java.lang.Object

An enumeration identifying which kind of type declaration this is.


Field Summary
static ClassT.ClassKind ANNOTATION_TYPE
          This ClassT is of the "annotation" type.
static ClassT.ClassKind CLASS_TYPE
          This ClassT is of the "class" type, not an enum type.
static ClassT.ClassKind ENUM_TYPE
          This ClassT is of the "enum" type.
static ClassT.ClassKind INTERFACE_TYPE
          This ClassT is of the "interface" type, not an annotation type.

 

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

 

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

 

Field Detail

CLASS_TYPE

public static final ClassT.ClassKind CLASS_TYPE
This ClassT is of the "class" type, not an enum type.

INTERFACE_TYPE

public static final ClassT.ClassKind INTERFACE_TYPE
This ClassT is of the "interface" type, not an annotation type.

ENUM_TYPE

public static final ClassT.ClassKind ENUM_TYPE
This ClassT is of the "enum" type.

ANNOTATION_TYPE

public static final ClassT.ClassKind ANNOTATION_TYPE
This ClassT is of the "annotation" type.

Method Detail

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(ClassT.ClassKind 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 ClassT.ClassKind valueOf(int ordinal)

valueOf

public static ClassT.ClassKind valueOf(java.lang.Class ignored,
                                       java.lang.String name)

values

public static ClassT.ClassKind[] values()

Skip navigation links

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

E17493-03


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