Class LocalVariables


  • public final class LocalVariables
    extends Object
    Local variables.
    Since:
    0.1
    • Constructor Detail

      • LocalVariables

        public LocalVariables()
        Constructor.
      • LocalVariables

        public LocalVariables​(int modifiers,
                              String descriptor,
                              String type)
        Constructor.
        Parameters:
        modifiers - Method access modifiers.
        descriptor - Method descriptor.
        type - Method type.
      • LocalVariables

        public LocalVariables​(int modifiers,
                              String descriptor)
        Constructor.
        Parameters:
        modifiers - Method access modifiers.
        descriptor - Method descriptor.
      • LocalVariables

        public LocalVariables​(int modifiers,
                              org.objectweb.asm.Type[] types,
                              org.objectweb.asm.Type clazz)
        Constructor.
        Parameters:
        modifiers - Method access modifiers.
        types - Method argument types.
        clazz - Class type.
    • Method Detail

      • variable

        public AstNode variable​(int index,
                                org.objectweb.asm.Type type)
        Get variable by index.
        Parameters:
        index - Index.
        type - Type.
        Returns:
        Variable.