MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / create

Method create

src/main/java/wyil/util/TypeSelector.java:47–49  ·  view source on GitHub ↗

Create a type selector from a given source and refinement. For example, int|null might be the source with int as the refinement. @param source @param refinement @return

(Type lhs, Type rhs)

Source from the content-addressed store, hash-verified

45 * @return
46 */
47 public static Type.Selector create(Type lhs, Type rhs) {
48 return create(lhs,rhs,null);
49 }
50
51 private static Type.Selector create(Type t1, Type t2, BinaryRelation<Type> cache) {
52

Callers 15

refineMethod · 0.95
executeInitialiserMethod · 0.45
greatestLowerBoundMethod · 0.45
leastUpperBoundMethod · 0.45
subtractMethod · 0.45
pullArrayInitialiserMethod · 0.45
pullTupleInitialiserMethod · 0.45
forkOnTupleMethod · 0.45
getNaturalTypeMethod · 0.45

Calls 15

normaliseMethod · 0.95
isTopMethod · 0.95
isBottomMethod · 0.95
isOpenMethod · 0.80
getMethod · 0.65
setMethod · 0.65
getOpcodeMethod · 0.65
sizeMethod · 0.65
getNameMethod · 0.65
getTypeMethod · 0.65
getParameterMethod · 0.65
getReturnMethod · 0.65

Tested by

no test coverage detected