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

Method make

chapter15/src/main/java/com/seaofnodes/simple/type/Field.java:27–29  ·  view source on GitHub ↗
( String fname, int alias, Type type )

Source from the content-addressed store, hash-verified

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

Callers 8

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

Calls 1

internMethod · 0.45

Tested by 1

testTypeAdHocMethod · 0.76