/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }
/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }
/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }
/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }
/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }
/** * Constructs an instance. * * @param name {@code non-null;} attribute name * @param localVariables {@code non-null;} list of local variable entries */ public BaseLocalVariables(String name, LocalVariableList localVariables) { super(name); try { if (localVariables.isMutable()) { throw new MutabilityException("localVariables.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("localVariables == null"); } this.localVariables = localVariables; }