# Uses of Interface
java.lang.classfile.Signature

Packages that use SignaturePREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

- ## Uses of SignaturePREVIEW in java.lang.classfilePREVIEW

  Subinterfaces of SignaturePREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `static interface`
  `Signature.ArrayTypeSigPREVIEW`
  Preview.
  Models the signature of an array type.
  `static interface`
  `Signature.BaseTypeSigPREVIEW`
  Preview.
  Models the signature of a primitive type or void
  `static interface`
  `Signature.ClassTypeSigPREVIEW`
  Preview.
  Models the signature of a possibly-parameterized class or interface type.
  `static interface`
  `Signature.RefTypeSigPREVIEW`
  Preview.
  Models the signature of a reference type, which may be a class, interface, type variable, or array type.
  `static interface`
  `Signature.ThrowableSigPREVIEW`
  Preview.
  Models a signature for a throwable type.
  `static interface`
  `Signature.TypeVarSigPREVIEW`
  Preview.
  Models the signature of a type variable.
  Methods in java.lang.classfilePREVIEW that return SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `SignaturePREVIEW`
  Signature.ArrayTypeSig.`componentSignature()`
  Returns the signature of the component type.
  `static SignaturePREVIEW`
  Signature.`of(ClassDesc classDesc)`
  Returns a Java type signature.
  `static SignaturePREVIEW`
  Signature.`parseFrom(String javaTypeSignature)`
  Parses generic Java type signature from raw string
  `SignaturePREVIEW`
  MethodSignature.`result()`
  Returns the signatures of the return value of this method.
  Methods in java.lang.classfilePREVIEW that return types with arguments of type SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `List<SignaturePREVIEW>`
  MethodSignature.`arguments()`
  Returns the signatures of the parameters of this method.
  Methods in java.lang.classfilePREVIEW with parameters of type SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`localVariableType(int slot, String name, SignaturePREVIEW signature, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Declare a local variable type entry
  `static MethodSignaturePREVIEW`
  MethodSignature.`of(SignaturePREVIEW result, SignaturePREVIEW... arguments)`
  Returns a method signature.
  `static MethodSignaturePREVIEW`
  MethodSignature.`of(List<Signature.TypeParamPREVIEW> typeParameters, List<Signature.ThrowableSigPREVIEW> exceptions, SignaturePREVIEW result, SignaturePREVIEW... arguments)`
  Returns a method signature.
  `static Signature.ArrayTypeSigPREVIEW`
  Signature.ArrayTypeSig.`of(int dims, SignaturePREVIEW componentSignature)`
  Returns a signature for an array type.
  `static Signature.ArrayTypeSigPREVIEW`
  Signature.ArrayTypeSig.`of(SignaturePREVIEW componentSignature)`
  Returns a signature for an array type.

- ## Uses of SignaturePREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `default SignaturePREVIEW`
  SignatureAttribute.`asTypeSignature()`
  Parse the signature as a type signature.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `static SignatureAttributePREVIEW`
  SignatureAttribute.`of(SignaturePREVIEW signature)`
  Returns a `Signature` attribute.

- ## Uses of SignaturePREVIEW in java.lang.classfile.instructionPREVIEW

  Methods in java.lang.classfile.instructionPREVIEW that return SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `default SignaturePREVIEW`
  LocalVariableType.`signatureSymbol()`
  Returns the local variable signature.
  Methods in java.lang.classfile.instructionPREVIEW with parameters of type SignaturePREVIEW
  Modifier and Type
  Method
  Description
  `static LocalVariableTypePREVIEW`
  LocalVariableType.`of(int slot, String name, SignaturePREVIEW signature, LabelPREVIEW startScope, LabelPREVIEW endScope)`
  Returns a local variable type pseudo-instruction.