Class Java.CatchParameter

  • All Implemented Interfaces:
    Java.Locatable
    Enclosing class:
    Java

    public static final class Java.CatchParameter
    extends Java.Located
    Representation of a "catch" parameter.
    • Field Detail

      • finaL

        public final boolean finaL
        Whether the parameter is declared FINAL.
      • types

        public final Java.Type[] types
        The types of the parameter.
      • name

        public final java.lang.String name
        The name of the parameter.
    • Constructor Detail

      • CatchParameter

        public CatchParameter​(Location location,
                              boolean finaL,
                              Java.Type[] types,
                              java.lang.String name)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setEnclosingScope

        public void setEnclosingScope​(Java.Scope enclosingScope)
        Parameters:
        enclosingScope - The scope that encloses this catch parameter declaration