@Test public void testExpandNull() { assertNull("Expected null", VariableExpansion.expand(null, variable -> "foo")); }
public static final String expand(String input, Resolver resolver) throws UnresolvedVariableException, IllegalArgumentException, NullPointerException { if(resolver == null) { throw new NullPointerException("Resolver must be supplied"); } if (input == null) { return null; } return expand0(input, resolver, new Stack<String>()); }
VariableExpansion { public static final String expand(String input, Resolver resolver) throws UnresolvedVariableException, IllegalArgumentException, NullPointerException { if(resolver == null) { throw new NullPointerException("Resolver must be supplied"); } if (input == null) { return null; } return expand0(input, resolver, new Stack<String>()); } }
VariableExpansion { public static final String expand(String input, Resolver resolver) throws UnresolvedVariableException, IllegalArgumentException, NullPointerException { if(resolver == null) { throw new NullPointerException("Resolver must be supplied"); } if (input == null) { return null; } return expand0(input, resolver, new Stack<String>()); } private  VariableExpansion(); }
VariableExpansion { public static final String expand(String input, Resolver resolver) throws UnresolvedVariableException, IllegalArgumentException, NullPointerException { if(resolver == null) { throw new NullPointerException("Resolver must be supplied"); } if (input == null) { return null; } return expand0(input, resolver, new Stack<String>()); } private  VariableExpansion(); static final String expand(String input, Resolver resolver); }
VariableExpansion { public static final String expand(String input, Resolver resolver) throws UnresolvedVariableException, IllegalArgumentException, NullPointerException { if(resolver == null) { throw new NullPointerException("Resolver must be supplied"); } if (input == null) { return null; } return expand0(input, resolver, new Stack<String>()); } private  VariableExpansion(); static final String expand(String input, Resolver resolver); static final Resolver ENV_VAR_RESOLVER; static final Resolver SYS_PROP_RESOLVER; }