Schnittstelle IMethodParametersAttribute

Alle Superschnittstellen:
IClassFileAttribute
Alle bekannten Implementierungsklassen:
MethodParametersAttribute

public interface IMethodParametersAttribute extends IClassFileAttribute
Description of a method's parameters names as described in the JVM specifications. This interface may be implemented by clients.
Seit:
3.10
  • Methodendetails

    • getMethodParameterLength

      int getMethodParameterLength()
      Answer back the number of parameters for this method as specified in the JVM specifications.
      Gibt zurück:
      the number of parameters for this method as specified in the JVM specifications
    • getParameterName

      char[] getParameterName(int i)
      Answer back the name for the i'th parameter. Answer null if no name is available.
      Gibt zurück:
      back the name for the i'th parameter. Returns null if no name is available.
    • getAccessFlags

      short getAccessFlags(int i)
      Answer back the access flags for the i'th parameter, a mask of ACC_FINAL, ACC_SYNTHETIC, and ACC_MANDATED.
      Gibt zurück:
      the access flags for the i'th parameter.