列挙型クラスjava.lang.classfile.TypeKindの
使用
TypeKindを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfileライブラリの定数プール・エントリを記述するインタフェースを提供します。java.lang.classfileライブラリのコード手 を説明するインタフェースを提供します。-
java.lang.classfileでのTypeKindの使用
java.lang.classfileの型TypeKindの型引数を持つサブクラスTypeKindを返すjava.lang.classfileのメソッド修飾子と型メソッド説明TypeKind.asLoadable()static TypeKindTypeKind.from(TypeDescriptor.OfField<?> descriptor) 指定されたフィールド記述子に関連付けられている型を返します。static TypeKindTypeKind.fromDescriptor(CharSequence s) 指定されたフィールド記述子に関連付けられている型を返します。static TypeKindTypeKind.fromNewarrayCode(int newarrayCode) オペランドとして使用される配列コードによって記述されたコンポーネント・タイプをnewarrayに戻します。static TypeKind指定された名前を持つこのクラスのenum定数を返します。static TypeKind[]TypeKind.values()この列挙クラスの定数を含む配列を宣言されている 序で 返します。型TypeKindのパラメータを持つjava.lang.classfileのメソッド修飾子と型メソッド説明intCodeBuilder.allocateLocal(TypeKind typeKind) 新しいローカル変数のローカル変数スロットを返します。default CodeBuilder配列からロードする命令を生成します。default CodeBuilderCodeBuilder.arrayStore(TypeKind tk) 配列に 納する命令を生成します。default CodeBuilderCodeBuilder.conversion(TypeKind fromType, TypeKind toType) Generatesinstruction(s):fromTypeをtoTypeに変換します。default CodeBuilderローカル変数から値をロードする命令を生成します。default CodeBuilderプリミティブ型の新しい配列を作成する命令を生成します。default CodeBuilder戻り命令を生成します。default CodeBuilderCodeBuilder.storeLocal(TypeKind tk, int slot) ローカル変数に値を 納する命令を生成します。 -
java.lang.classfile.constantpoolでのTypeKindの使用
-
java.lang.classfile.instructionでのTypeKindの使用
修飾子と型メソッド説明ConvertInstruction.fromType()変換元のソース・タイプを返します。ConvertInstruction.toType()変換先の宛先タイプを返します。ArrayLoadInstruction.typeKind()配列のコンポーネント・タイプを返します。ArrayStoreInstruction.typeKind()配列のコンポーネント・タイプを返します。default TypeKindConstantInstruction.ArgumentConstantInstruction.typeKind()default TypeKindConstantInstruction.IntrinsicConstantInstruction.typeKind()default TypeKindConstantInstruction.LoadConstantInstruction.typeKind()ConstantInstruction.typeKind()定数の「計算タイプ」を返します。LoadInstruction.typeKind()ロードする値の「計算タイプ」を返します。NewPrimitiveArrayInstruction.typeKind()配列のコンポーネント・タイプを返します。OperatorInstruction.typeKind()命令のオペランド型を返します。ReturnInstruction.typeKind()StoreInstruction.typeKind()納する値の「計算タイプ」を返します。型TypeKindのパラメータを持つjava.lang.classfile.instructionのメソッド修飾子と型メソッド説明static ConvertInstruction変換命令を返します。static LoadInstructionローカル変数ロード命令を返します。static NewPrimitiveArrayInstruction新しいプリミティブ配列命令を返します。static ReturnInstruction戻り命令を返します。static StoreInstructionローカル変数ストア命令を返します。