MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / make

Method make

chapter14/src/main/java/com/seaofnodes/simple/type/Field.java:24–26  ·  view source on GitHub ↗
( String fname, Type type )

Source from the content-addressed store, hash-verified

22 }
23 // Make with existing alias
24 public static Field make( String fname, Type type ) {
25 return new Field(fname,type).intern();
26 }
27
28 public static final Field TEST = make("test",TypeInteger.ZERO);
29 public static void gather(ArrayList<Type> ts) { ts.add(TEST); }

Callers 7

testTypeAdHocMethod · 0.95
parseFieldMethod · 0.95
FieldClass · 0.95
xmeetMethod · 0.95
dualMethod · 0.95
glbMethod · 0.95
TypeStructClass · 0.95

Calls 1

internMethod · 0.45

Tested by 1

testTypeAdHocMethod · 0.76