Klasse MethodParametersAttribute

Alle implementierten Schnittstellen:
IClassFileAttribute, IMethodParametersAttribute

public class MethodParametersAttribute extends ClassFileAttribute implements IMethodParametersAttribute
Seit:
3.10
  • Methodendetails

    • getMethodParameterLength

      public int getMethodParameterLength()
      Beschreibung aus Schnittstelle kopiert: IMethodParametersAttribute
      Answer back the number of parameters for this method as specified in the JVM specifications.
      Angegeben von:
      getMethodParameterLength in Schnittstelle IMethodParametersAttribute
      Gibt zurück:
      the number of parameters for this method as specified in the JVM specifications
    • getParameterName

      public char[] getParameterName(int i)
      Beschreibung aus Schnittstelle kopiert: IMethodParametersAttribute
      Answer back the name for the i'th parameter. Answer null if no name is available.
      Angegeben von:
      getParameterName in Schnittstelle IMethodParametersAttribute
      Gibt zurück:
      back the name for the i'th parameter. Returns null if no name is available.
    • getAccessFlags

      public short getAccessFlags(int i)
      Beschreibung aus Schnittstelle kopiert: IMethodParametersAttribute
      Answer back the access flags for the i'th parameter, a mask of ACC_FINAL, ACC_SYNTHETIC, and ACC_MANDATED.
      Angegeben von:
      getAccessFlags in Schnittstelle IMethodParametersAttribute
      Gibt zurück:
      the access flags for the i'th parameter.