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

Method make

chapter11/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 public static Field make( String fname, Type type ) {
24 return new Field(fname,type).intern();
25 }
26
27 public static final Field TEST = make("test",TypeInteger.ZERO);
28 public static void gather(ArrayList<Type> ts) { ts.add(TEST); }
29

Callers 6

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

Calls 1

internMethod · 0.45

Tested by 1

testTypeAdHocMethod · 0.76