public String name () {
    // lazily init name if it's not been set
    if (name == null) {
      name = getClass().getName();
      name = name.substring(name.lastIndexOf(".")+1).intern();
    }
    return name;
  }
public String name ( ) { if ( name == null ) { name = getClass ( ) . getName ( ) ; name = name . substring ( name . lastIndexOf ( "." ) + 1 ) . intern ( ) ; } return name ; }
Returns the name of this layer. This defaults to the simple name of the class, but can be set
programmatically to aid in debugging. See {@link #setName}.