インタフェース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 CodeBuilderCodeBuilder.localVariable(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope) ローカル変数エントリを宣言します。default CodeBuilderCodeBuilder.localVariableType(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope) ローカル変数タイプ・エントリを宣言します。static AnnotationAnnotation.of(Utf8Entry annotationClass, AnnotationElement... elements) 注釈を返します。static AnnotationAnnotation.of(Utf8Entry annotationClass, List<AnnotationElement> elements) 注釈を返します。static AnnotationElementAnnotationElement.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 ClassBuilderClassBuilder.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 CompilationIDAttributeCompilationID属性を返します。static ModuleAttributeModuleAttribute.of(ModuleEntry moduleName, int moduleFlags, Utf8Entry moduleVersion, Collection<ModuleRequireInfo> requires, Collection<ModuleExportInfo> exports, Collection<ModuleOpenInfo> opens, Collection<ClassEntry> uses, Collection<ModuleProvideInfo> provides) Module属性を返します。static ModuleHashesAttributeModuleHashesAttribute.of(Utf8Entry algorithm, ModuleHashInfo... hashes) ModuleHashes属性を返します。static ModuleHashesAttributeModuleHashesAttribute.of(Utf8Entry algorithm, List<ModuleHashInfo> hashes) ModuleHashes属性を返します。static ModuleRequireInfoModuleRequireInfo.of(ModuleEntry requires, int requiresFlags, Utf8Entry requiresVersion) モジュール要件の説明を返します。static ModuleRequireInfoModuleRequireInfo.of(ModuleEntry requires, Collection<AccessFlag> requiresFlags, Utf8Entry requiresVersion) モジュール要件の説明を返します。static ModuleTargetAttributeModuleTarget属性を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。static SignatureAttributeSignature属性を返します。static SourceFileAttributeソース・ファイル属性を返します。static SourceIDAttributeSourceID属性を返します。型Utf8Entryの型引数を持つjava.lang.classfile.attributeのメソッド・パラメータ -
java.lang.classfile.constantpoolでのUtf8Entryの使用
修飾子と型メソッド説明MethodTypeEntry.descriptor()「メソッド記述子」文字列を返します。ClassEntry.name()この構造によって参照されるUtf8Entryを返します。default Utf8EntryDynamicConstantPoolEntry.name()このシンボリック参照によって示される名前を返します。default Utf8EntryMemberRefEntry.name()メンバーの名前を返します。ModuleEntry.name()moduleの名前を返します。NameAndTypeEntry.name()フィールド名またはメソッド名を返します。PackageEntry.name()default Utf8EntryDynamicConstantPoolEntry.type()このシンボリック参照によって示される記述子文字列を返します。default Utf8EntryMemberRefEntry.type()メンバーの記述子文字列を返します。NameAndTypeEntry.type()フィールドまたはメソッドのdescriptor文字列を返します。StringEntry.utf8()文字列の内容を記述するUTF定数プール・エントリを返します。default Utf8Entry指定されたClassDescの「フィールド記述子文字列」を記述するUtf8Entryを返します。default Utf8EntryConstantPoolBuilder.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 Utf8EntryFieldInstruction.name()フィールドの名前を返します。default Utf8EntryInvokeDynamicInstruction.name()コール・サイトの呼出し名を返します。default Utf8EntryInvokeInstruction.name()メソッドの名前を返します。LocalVariable.name()ローカル変数名を返します。LocalVariableType.name()ローカル変数名を返します。LocalVariableType.signature()ローカル変数の汎用シグネチャ文字列を返します。default Utf8EntryFieldInstruction.type()フィールドのフィールド記述子文字列を返します。default Utf8EntryInvokeDynamicInstruction.type()コール・サイトの呼出しタイプを返します。default Utf8EntryInvokeInstruction.type()メソッドのメソッド記述子文字列を返します。LocalVariable.type()ローカル変数のフィールド記述子文字列を返します。型Utf8Entryのパラメータを持つjava.lang.classfile.instructionのメソッド修飾子と型メソッド説明static FieldInstructionFieldInstruction.of(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type) フィールド・アクセス指示を返します。static InvokeInstructionInvokeInstruction.of(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type, boolean isInterface) invocation instructionを返します。static LocalVariableLocalVariable.of(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope) ローカル変数擬似命令を返します。static LocalVariableTypeLocalVariableType.of(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope) ローカル変数型擬似命令を返します。