Class BytecodeMethodProperties


  • public final class BytecodeMethodProperties
    extends Object
    Bytecode method properties.
    Since:
    0.1
    • Constructor Detail

      • BytecodeMethodProperties

        public BytecodeMethodProperties​(String name,
                                        String descriptor,
                                        int... modifiers)
        Constructor.
        Parameters:
        name - Method name.
        descriptor - Method descriptor.
        modifiers - Access modifiers.
      • BytecodeMethodProperties

        public BytecodeMethodProperties​(String name,
                                        String descriptor,
                                        String signature,
                                        int... modifiers)
        Constructor.
        Parameters:
        name - Method name.
        descriptor - Method descriptor.
        signature - Method signature.
        modifiers - Access modifiers.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • BytecodeMethodProperties

        public BytecodeMethodProperties​(int access,
                                        String name,
                                        String descriptor,
                                        String signature,
                                        String... exceptions)
        Constructor.
        Parameters:
        access - Access modifiers.
        name - Method name.
        descriptor - Method descriptor.
        signature - Method signature.
        exceptions - Method exceptions.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • BytecodeMethodProperties

        public BytecodeMethodProperties​(int access,
                                        String name,
                                        String descriptor,
                                        String signature,
                                        BytecodeMethodParameters parameters,
                                        String... exceptions)
        Constructor.
        Parameters:
        access - Access modifiers.
        name - Method name.
        descriptor - Method descriptor.
        signature - Method signature.
        parameters - Method parameters.
        exceptions - Method exceptions.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
    • Method Detail

      • name

        public String name()
        Method name.
        Returns:
        Method name.
      • descriptor

        public String descriptor()
        Method descriptor.
        Returns:
        Method descriptor.
      • isAbstract

        public boolean isAbstract()
        Is method abstract.
        Returns:
        True if the method is abstract.
      • isStatic

        public boolean isStatic()
        Is method static.
        Returns:
        True if the method is static.