MCPcopy Create free account
hub / github.com/PCGen/pcgen / Aspect

Method Aspect

code/src/java/pcgen/cdom/helper/Aspect.java:75–82  ·  view source on GitHub ↗

Instantiates a new aspect. @param name the name of the aspect @param aString the aspect string

(final String name, final String aString)

Source from the content-addressed store, hash-verified

73 * @param aString the aspect string
74 */
75 public Aspect(final String name, final String aString)
76 {
77 Objects.requireNonNull(name, "Name for Aspect cannot be null");
78 Objects.requireNonNull(aString, "Value for Aspect cannot be null");
79 this.key = AspectName.getConstant(name);
80
81 parseAspectString(aString);
82 }
83
84 /**
85 * Instantiates a new aspect.

Callers

nothing calls this directly

Calls 2

getConstantMethod · 0.95
parseAspectStringMethod · 0.95

Tested by

no test coverage detected