# Uses of Interface
java.lang.classfile.MethodSignature

Packages that use MethodSignaturePREVIEW
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.

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

  Methods in java.lang.classfilePREVIEW that return MethodSignaturePREVIEW
  Modifier and Type
  Method
  Description
  `static MethodSignaturePREVIEW`
  MethodSignature.`of(SignaturePREVIEW result, SignaturePREVIEW... arguments)`
  Returns a method signature.
  `static MethodSignaturePREVIEW`
  MethodSignature.`of(MethodTypeDesc methodDescriptor)`
  Returns method signature for a raw (no generic information) method descriptor.
  `static MethodSignaturePREVIEW`
  MethodSignature.`of(List<Signature.TypeParamPREVIEW> typeParameters, List<Signature.ThrowableSigPREVIEW> exceptions, SignaturePREVIEW result, SignaturePREVIEW... arguments)`
  Returns a method signature.
  `static MethodSignaturePREVIEW`
  MethodSignature.`parseFrom(String methodSignature)`
  Parses a raw method signature string into a MethodSignaturePREVIEW

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

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