PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/testability-explorer/src/main/java/com/google/test/metric/ConstructorInvocationCost.java

http://testability-explorer.googlecode.com/
Java | 16 lines | 12 code | 4 blank | 0 comment | 0 complexity | 9853301a9ff4a974f425c9d422bb2244 MD5 | raw file
 1package com.google.test.metric;
 2
 3public class ConstructorInvocationCost extends MethodInvocationCost {
 4
 5  public ConstructorInvocationCost(SourceLocation location,
 6      MethodCost methodCost, Reason costSourceType, Cost invocationCost) {
 7    super(location, methodCost, costSourceType, invocationCost);
 8  }
 9
10  @Override
11  public void link(Cost directCost, Cost dependentCost,
12      Cost constructorDependentCost) {
13    constructorDependentCost.addWithoutLod(cost);
14  }
15
16}