public class DefinitionKind extends Object implements IDLEntity
The class that provides the constants used to identify the type of an Interface Repository object. This class contains two kinds of constants, those that are an int
and those that are an instance of the class DefinitionKind
. This class provides the method from_int
, which given one of the int
constants, creates the corresponding DefinitionKind
instance. It also provides the method value
, which returns the int
constant that is the value for a DefinitionKind
instance.
IRObject
public static final int _dk_none
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_all
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Attribute
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Constant
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Exception
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Interface
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Module
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Operation
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Typedef
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Alias
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Struct
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Union
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Enum
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Primitive
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_String
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Sequence
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Array
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Repository
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Wstring
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Fixed
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Value
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_ValueBox
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_ValueMember
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_Native
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final int _dk_AbstractInterface
The constant that indicates that an Interface Repository object does not have a definition kind.
public static final DefinitionKind dk_none
The static instance of DefinitionKind
indicating that an Interface Repository object has no definition kind.
public static final DefinitionKind dk_all
The wildcard DefinitionKind
constant, useful in all occasions where any DefinitionKind
is appropriate. The Container's contents
method makes use of this constant to return all contained definitions of any kind.
public static final DefinitionKind dk_Attribute
The static instance of DefinitionKind
indicating that an Interface Repository object is an Attribute.
public static final DefinitionKind dk_Constant
The static instance of DefinitionKind
indicating that an Interface Repository object is a constant.
public static final DefinitionKind dk_Exception
The static instance of DefinitionKind
indicating that an Interface Repository object is an Exception.
public static final DefinitionKind dk_Interface
The static instance of DefinitionKind
indicating that an Interface Repository object is an Interface.
public static final DefinitionKind dk_Module
The static instance of DefinitionKind
indicating that an Interface Repository object is a Module.
public static final DefinitionKind dk_Operation
The static instance of DefinitionKind
indicating that an Interface Repository object is an Operation.
public static final DefinitionKind dk_Typedef
The static instance of DefinitionKind
indicating that an Interface Repository object is a Typedef.
public static final DefinitionKind dk_Alias
The static instance of DefinitionKind
indicating that an Interface Repository object is an Alias.
public static final DefinitionKind dk_Struct
The static instance of DefinitionKind
indicating that an Interface Repository object is a Struct.
public static final DefinitionKind dk_Union
The static instance of DefinitionKind
indicating that an Interface Repository object is a Union.
public static final DefinitionKind dk_Enum
The static instance of DefinitionKind
indicating that an Interface Repository object is an Enum.
public static final DefinitionKind dk_Primitive
The static instance of DefinitionKind
indicating that an Interface Repository object is a Primitive.
public static final DefinitionKind dk_String
The static instance of DefinitionKind
indicating that an Interface Repository object is a String.
public static final DefinitionKind dk_Sequence
The static instance of DefinitionKind
indicating that an Interface Repository object is a Sequence.
public static final DefinitionKind dk_Array
The static instance of DefinitionKind
indicating that an Interface Repository object is an Array.
public static final DefinitionKind dk_Repository
The static instance of DefinitionKind
indicating that an Interface Repository object is a Repository.
public static final DefinitionKind dk_Wstring
The static instance of DefinitionKind
indicating that an Interface Repository object is a Wstring.
public static final DefinitionKind dk_Fixed
The static instance of DefinitionKind
indicating that an Interface Repository object is a Fixed value.
public static final DefinitionKind dk_Value
The static instance of DefinitionKind
indicating that an Interface Repository object is a Value.
public static final DefinitionKind dk_ValueBox
The static instance of DefinitionKind
indicating that an Interface Repository object is a ValueBox.
public static final DefinitionKind dk_ValueMember
The static instance of DefinitionKind
indicating that an Interface Repository object is a ValueMember.
public static final DefinitionKind dk_Native
The static instance of DefinitionKind
indicating that an Interface Repository object is a Native value.
public static final DefinitionKind dk_AbstractInterface
The static instance of DefinitionKind
indicating that an Interface Repository object represents an abstract interface.
protected DefinitionKind(int _value)
Constructs a DefinitionKind
object with its _value
field initialized with the given value.
_value
- one of the int
constants defined in the class DefinitionKind
public int value()
Returns the int
constant identifying the type of an IR object.
int
constant from the class DefinitionKind
that is the value of this DefinitionKind
instancepublic static DefinitionKind from_int(int i)
Creates a DefinitionKind
instance corresponding to the given code .
i
- one of the int
constants from the class DefinitionKind
DefinitionKind
instance corresponding to the given codeBAD_PARAM
- if the given parameter is not one of the int
constants from the class DefinitionKind
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.