Class LocalVariables

java.lang.Object
org.eolang.opeo.decompilation.LocalVariables

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

    • 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 Details

    • variable

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