|
|
@ -308,8 +308,7 @@ public class ClassAnalyzer |
|
|
|
// First analyze constructors and synthetic fields:
|
|
|
|
// First analyze constructors and synthetic fields:
|
|
|
|
constrAna = null; |
|
|
|
constrAna = null; |
|
|
|
if (constructors.length > 0) { |
|
|
|
if (constructors.length > 0) { |
|
|
|
for (int j=0; j< constructors.length; j++) |
|
|
|
for (int j=0; j< constructors.length; j++) { |
|
|
|
{ |
|
|
|
|
|
|
|
if (pl != null) { |
|
|
|
if (pl != null) { |
|
|
|
double constrCompl = constructors[j].getComplexity() |
|
|
|
double constrCompl = constructors[j].getComplexity() |
|
|
|
* subScale; |
|
|
|
* subScale; |
|
|
@ -408,6 +407,7 @@ public class ClassAnalyzer |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void makeDeclaration(Set done) { |
|
|
|
public void makeDeclaration(Set done) { |
|
|
|
|
|
|
|
// First prepare constructors:
|
|
|
|
if (constrAna != null) |
|
|
|
if (constrAna != null) |
|
|
|
constrAna.transform(); |
|
|
|
constrAna.transform(); |
|
|
|
if (staticConstructor != null) { |
|
|
|
if (staticConstructor != null) { |
|
|
|