Class BytecodeMethodParameter


  • public final class BytecodeMethodParameter
    extends Object
    Bytecode method parameter.
    Since:
    0.6
    • Constructor Detail

      • BytecodeMethodParameter

        public BytecodeMethodParameter​(int index,
                                       org.objectweb.asm.Type type)
        Constructor.
        Parameters:
        index - Index of the parameter.
        type - Type of the parameter.
      • BytecodeMethodParameter

        public BytecodeMethodParameter​(int index,
                                       org.objectweb.asm.Type type,
                                       BytecodeAnnotations annotations)
        Constructor.
        Parameters:
        index - Index of the parameter.
        type - Type of the parameter.
        annotations - Annotations of the parameter.
      • BytecodeMethodParameter

        public BytecodeMethodParameter​(int index,
                                       String name,
                                       org.objectweb.asm.Type type,
                                       BytecodeAnnotations annotations)
        Constructor.
        Parameters:
        index - Index of the parameter.
        name - Name of the parameter.
        type - Type of the parameter.
        annotations - Annotations of the parameter.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • BytecodeMethodParameter

        public BytecodeMethodParameter​(int index,
                                       String name,
                                       int access,
                                       org.objectweb.asm.Type type,
                                       BytecodeAnnotations annotations)
        Constructor.
        Parameters:
        index - Index of the parameter.
        name - Name of the parameter.
        access - Method parameter access.
        type - Type of the parameter.
        annotations - Annotations of the parameter.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
    • Method Detail

      • write

        public void write​(org.objectweb.asm.MethodVisitor visitor)
        Write to the method visitor.
        Parameters:
        visitor - Method visitor.
      • directives

        public Iterable<org.xembly.Directive> directives()
        Convert to directives.
        Returns:
        Directives.