Interface NamedAndTyped

All Known Implementing Classes:
FieldGen, FieldGenOrMethodGen, LocalVariableGen, MethodGen

public interface NamedAndTyped
Denote entity that has both name and type. This is true for local variables, methods and fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name.
    Gets the type.
    void
    Sets the name.
    void
    setType(Type type)
    Sets the type.
  • Method Details

    • getName

      Gets the name.
      Returns:
      the name.
    • getType

      Gets the type.
      Returns:
      the type.
    • setName

      void setName(String name)
      Sets the name.
      Parameters:
      name - the name.
    • setType

      void setType(Type type)
      Sets the type.
      Parameters:
      type - the type.