インタフェースjava.lang.classfile.constantpool.Utf8Entryの
使用
Utf8Entryを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfile
ライブラリのclass
ファイル属性を記述するインタフェースを提供します。java.lang.classfile
ライブラリの定数プール・エントリを記述するインタフェースを提供します。java.lang.classfile
ライブラリのコード手順を説明するインタフェースを提供します。-
java.lang.classfileでのUtf8Entryの使用
Utf8Entryを返すjava.lang.classfileのメソッド修飾子と型メソッド説明Attribute.attributeName()
属性の名前を返します。CustomAttribute.attributeName()
属性の名前を返します。Annotation.className()
注釈インタフェースの「記述子文字列」を保持する定数プール・エントリを返します。AnnotationValue.OfClass.className()
クラス記述子文字列を返します。AnnotationValue.OfEnum.className()
列挙クラス記述子文字列を返します。AnnotationValue.OfString.constant()
バッキングUTF8エントリを返します。AnnotationValue.OfEnum.constantName()
列挙定数名を返します。FieldModel.fieldName()
このフィールドの名前を返します。FieldModel.fieldType()
このフィールドのフィールド記述子文字列を返します。MethodModel.methodName()
このメソッドの名前を返します。MethodModel.methodType()
このメソッドのメソッド記述子文字列を返します。AnnotationElement.name()
要素名を返します。型Utf8Entryの引数を持つ型を返すjava.lang.classfileのメソッド修飾子と型メソッド説明ClassFile.AttributeMapperOption.attributeMapper()
属性マッパーへの関数マッピング属性名を返します。ClassReader.customAttributes()
カスタム属性マッパーの表を返します。型Utf8Entryのパラメータを持つjava.lang.classfileのメソッド修飾子と型メソッド説明default CodeBuilder
CodeBuilder.localVariable
(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope) ローカル変数エントリを宣言します。default CodeBuilder
CodeBuilder.localVariableType
(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope) ローカル変数タイプ・エントリを宣言します。static Annotation
Annotation.of
(Utf8Entry annotationClass, AnnotationElement... elements) 注釈を返します。static Annotation
Annotation.of
(Utf8Entry annotationClass, List<AnnotationElement> elements) 注釈を返します。static AnnotationElement
AnnotationElement.of
(Utf8Entry name, AnnotationValue value) 要素と値のペアを返します。static AnnotationValue.OfClass
要素と値のペアのクラス値を返します。static AnnotationValue.OfEnum
要素と値のペアの列挙値を返します。static AnnotationValue.OfString
要素と値のペアの文字列値を返します。default ClassBuilder
アクセス・フラグのみを持つフィールドを追加します。ClassBuilder.withField
(Utf8Entry name, Utf8Entry descriptor, Consumer<? super FieldBuilder> handler) フィールドを追加しますClassBuilder.withMethod
(Utf8Entry name, Utf8Entry descriptor, int methodFlags, Consumer<? super MethodBuilder> handler) メソッドを追加します。default ClassBuilder
ClassBuilder.withMethodBody
(Utf8Entry name, Utf8Entry descriptor, int methodFlags, Consumer<? super CodeBuilder> handler) アクセス・フラグとCodeModel
のみを持つメソッドを追加します。型Utf8Entryの型引数を持つjava.lang.classfileのメソッド・パラメータ修飾子と型メソッド説明ClassFile.AttributeMapperOption.of
(Function<Utf8Entry, AttributeMapper<?>> attributeMapper) 解析用のユーザー定義属性を説明するオプションを返します。 -
java.lang.classfile.attributeでのUtf8Entryの使用
修飾子と型メソッド説明ModuleHashesAttribute.algorithm()
ハッシュのコンピュートに使用されるアルゴリズム名を返します。CompilationIDAttribute.compilationId()
コンパイルIDを返します。RecordComponentInfo.descriptor()
このコンポーネントのフィールド記述子文字列を返します。LocalVariableInfo.name()
ローカル変数の名前を返します。LocalVariableTypeInfo.name()
ローカル変数の名前を返します。RecordComponentInfo.name()
このコンポーネントの名前を返します。LocalVariableTypeInfo.signature()
ローカル変数のフィールド・シグネチャ文字列を返します。SignatureAttribute.signature()
クラス、メソッド、フィールドまたはレコード・コンポーネントのシグネチャ文字列を返します。SourceFileAttribute.sourceFile()
このクラスのコンパイル元のソース・ファイルの名前を返します。SourceIDAttribute.sourceId()
ソースIDを返します。ModuleTargetAttribute.targetPlatform()
ターゲット・プラットフォームを返します。LocalVariableInfo.type()
ローカル変数のフィールド記述子文字列を返します。型Utf8Entryの引数を持つ型を返すjava.lang.classfile.attributeのメソッド修飾子と型メソッド説明EnclosingMethodAttribute.enclosingMethodName()
クラスがただちに1つのメソッドまたはコンストラクタで囲まれている場合、包含メソッドの名前を返します。EnclosingMethodAttribute.enclosingMethodType()
クラスがただちに1つのメソッドまたはコンストラクタで囲まれている場合、包含メソッドの名前を返します。InnerClassInfo.innerName()
このクラスの単純名を返すか、このクラスが匿名の場合は空を返します。ModuleAttribute.moduleVersion()
モジュールのバージョンを返します(存在する場合)。MethodParameterInfo.name()
パラメータ名(ある場合)を返します。ModuleRequireInfo.requiresVersion()
必要なモジュールが存在する場合は、必要なバージョンを返します。型Utf8Entryのパラメータを持つjava.lang.classfile.attributeのメソッド修飾子と型メソッド説明static CompilationIDAttribute
CompilationID
属性を返します。static ModuleAttribute
ModuleAttribute.of
(ModuleEntry moduleName, int moduleFlags, Utf8Entry moduleVersion, Collection<ModuleRequireInfo> requires, Collection<ModuleExportInfo> exports, Collection<ModuleOpenInfo> opens, Collection<ClassEntry> uses, Collection<ModuleProvideInfo> provides) Module
属性を返します。static ModuleHashesAttribute
ModuleHashesAttribute.of
(Utf8Entry algorithm, ModuleHashInfo... hashes) ModuleHashes
属性を返します。static ModuleHashesAttribute
ModuleHashesAttribute.of
(Utf8Entry algorithm, List<ModuleHashInfo> hashes) ModuleHashes
属性を返します。static ModuleRequireInfo
ModuleRequireInfo.of
(ModuleEntry requires, int requiresFlags, Utf8Entry requiresVersion) モジュール要件の説明を返します。static ModuleRequireInfo
ModuleRequireInfo.of
(ModuleEntry requires, Collection<AccessFlag> requiresFlags, Utf8Entry requiresVersion) モジュール要件の説明を返します。static ModuleTargetAttribute
ModuleTarget
属性を返します。static RecordComponentInfo
レコード・コンポーネントの説明を返します。static RecordComponentInfo
レコード・コンポーネントの説明を返します。static SignatureAttribute
Signature
属性を返します。static SourceFileAttribute
ソース・ファイル属性を返します。static SourceIDAttribute
SourceID
属性を返します。型Utf8Entryの型引数を持つjava.lang.classfile.attributeのメソッド・パラメータ -
java.lang.classfile.constantpoolでのUtf8Entryの使用
修飾子と型メソッド説明MethodTypeEntry.descriptor()
「メソッド記述子」文字列を返します。ClassEntry.name()
この構造によって参照されるUtf8Entry
を返します。default Utf8Entry
DynamicConstantPoolEntry.name()
このシンボリック参照によって示される名前を返します。default Utf8Entry
MemberRefEntry.name()
メンバーの名前を返します。ModuleEntry.name()
moduleの名前を返します。NameAndTypeEntry.name()
フィールド名またはメソッド名を返します。PackageEntry.name()
default Utf8Entry
DynamicConstantPoolEntry.type()
このシンボリック参照によって示される記述子文字列を返します。default Utf8Entry
MemberRefEntry.type()
メンバーの記述子文字列を返します。NameAndTypeEntry.type()
フィールドまたはメソッドのdescriptor文字列を返します。StringEntry.utf8()
文字列の内容を記述するUTF定数プール・エントリを返します。default Utf8Entry
指定されたClassDesc
の「フィールド記述子文字列」を記述するUtf8Entry
を返します。default Utf8Entry
ConstantPoolBuilder.utf8Entry
(MethodTypeDesc desc) 指定されたMethodTypeDesc
の「メソッド記述子文字列」を記述するUtf8Entry
を返します。型Utf8Entryのパラメータを持つjava.lang.classfile.constantpoolのメソッド修飾子と型メソッド説明ConstantPoolBuilder.classEntry
(Utf8Entry ne) 指定されたUtf8Entry
を参照するClassEntry
を返します。ConstantPoolBuilder.methodTypeEntry
(Utf8Entry descriptor) Utf8Entry
を参照するMethodTypeEntry
を返します。ConstantPoolBuilder.moduleEntry
(Utf8Entry moduleName) 指定されたUtf8Entry
を参照するModuleEntry
を返します。ConstantPoolBuilder.nameAndTypeEntry
(Utf8Entry nameEntry, Utf8Entry typeEntry) 指定された名前を参照するNameAndTypeEntry
を返し、Utf8Entry
と入力します。ConstantPoolBuilder.packageEntry
(Utf8Entry nameEntry) 指定されたUtf8Entry
を参照するPackageEntry
を返します。ConstantPoolBuilder.stringEntry
(Utf8Entry utf8) Utf8Entry
を参照するStringEntry
を返します。 -
java.lang.classfile.instructionでのUtf8Entryの使用
修飾子と型メソッド説明default Utf8Entry
FieldInstruction.name()
フィールドの名前を返します。default Utf8Entry
InvokeDynamicInstruction.name()
コール・サイトの呼出し名を返します。default Utf8Entry
InvokeInstruction.name()
メソッドの名前を返します。LocalVariable.name()
ローカル変数名を返します。LocalVariableType.name()
ローカル変数名を返します。LocalVariableType.signature()
ローカル変数の汎用シグネチャ文字列を返します。default Utf8Entry
FieldInstruction.type()
フィールドのフィールド記述子文字列を返します。default Utf8Entry
InvokeDynamicInstruction.type()
コール・サイトの呼出しタイプを返します。default Utf8Entry
InvokeInstruction.type()
メソッドのメソッド記述子文字列を返します。LocalVariable.type()
ローカル変数のフィールド記述子文字列を返します。型Utf8Entryのパラメータを持つjava.lang.classfile.instructionのメソッド修飾子と型メソッド説明static FieldInstruction
FieldInstruction.of
(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type) フィールド・アクセス指示を返します。static InvokeInstruction
InvokeInstruction.of
(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type, boolean isInterface) invocation instructionを返します。static LocalVariable
LocalVariable.of
(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope) ローカル変数擬似命令を返します。static LocalVariableType
LocalVariableType.of
(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope) ローカル変数型擬似命令を返します。