Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
44 436

Files

Files Errors
r/ClassRegistrationPicoContainer.java 10
r/ComponentFactory.java 6
r/PicoContainer.java 3
r/PicoInitializationException.java 2
r/PicoInvocationTargetInitailizationException.java 11
r/PicoRegistrationException.java 3
r/aggregated/AggregatedContainersContainer.java 26
r/aggregated/package.html 1
r/defaults/ComponentSpecification.java 15
r/defaults/DefaultComponentFactory.java 11
r/defaults/DefaultPicoContainer.java 202
r/defaults/NullContainer.java 14
r/defaults/package.html 1
r/hierarchical/AmbiguousComponentResolutionException.java 10
r/hierarchical/AssignabilityRegistrationException.java 15
r/hierarchical/CircularDependencyRegistrationException.java 2
r/hierarchical/DuplicateComponentTypeRegistrationException.java 14
r/hierarchical/HierarchicalPicoContainer.java 29
r/hierarchical/ImplementationHidingComponentFactory.java 22
r/hierarchical/NotConcreteRegistrationException.java 11
r/hierarchical/UnsatisfiedDependencyStartupException.java 15
r/hierarchical/WrongNumberOfConstructorsRegistrationException.java 11
r/hierarchical/package.html 1
r/package.html 1

r/ClassRegistrationPicoContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Missing a Javadoc comment. 13
Line is longer than 80 characters. 16
Unable to get class information for PicoRegistrationException. 23
Unable to get class information for PicoRegistrationException. 34
Unable to get class information for PicoRegistrationException. 46
Line is longer than 80 characters. 50
Expected @throws tag for 'PicoRegistrationException'. 56
Unable to get class information for PicoRegistrationException. 56
Line is longer than 80 characters. 65

r/ComponentFactory.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Unused import - java.lang.reflect.InvocationTargetException. 14
Missing a Javadoc comment. 16
Line is longer than 80 characters. 25
Line is longer than 80 characters. 27
Unable to get class information for PicoInvocationTargetInitailizationException. 27

r/PicoContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Expected @throws tag for 'PicoInitializationException'. 49
Unable to get class information for PicoInitializationException. 49

r/PicoInitializationException.java

Error Line
Missing a header - not enough lines in file. 1
Missing a Javadoc comment. 13

r/PicoInvocationTargetInitailizationException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 13
Missing a Javadoc comment. 13
Missing a Javadoc comment. 14
Missing a Javadoc comment. 16
Parameter cause should be final. 16
'cause' hides a field. 16
Method 'getCause' is not designed for extension - needs to be abstract, final or empty. 23
Missing a Javadoc comment. 23
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 27
Missing a Javadoc comment. 27

r/PicoRegistrationException.java

Error Line
Missing a header - not enough lines in file. 1
Missing a Javadoc comment. 13
'{' should be on the previous line. 14

r/aggregated/AggregatedContainersContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Missing a Javadoc comment. 35
Missing a Javadoc comment. 37
'containers' hides a field. 37
'if' is not followed by whitespace. 39
'(' is followed by whitespace. 39
')' is preceeded with whitespace. 39
'if' is not followed by whitespace. 44
'(' is followed by whitespace. 44
')' is preceeded with whitespace. 44
Line is longer than 80 characters. 45
Missing a Javadoc comment. 51
Missing a Javadoc comment. 52
Missing a Javadoc comment. 54
Method 'getSubject' is not designed for extension - needs to be abstract, final or empty. 59
Missing a Javadoc comment. 59
Method 'hasComponent' is not designed for extension - needs to be abstract, final or empty. 64
Missing a Javadoc comment. 64
Parameter compType should be final. 64
Method 'getComponent' is not designed for extension - needs to be abstract, final or empty. 74
Missing a Javadoc comment. 74
Parameter compType should be final. 74
Method 'getComponentTypes' is not designed for extension - needs to be abstract, final or empty. 84
Missing a Javadoc comment. 84
Missing a Javadoc comment. 93
Unable to get class information for PicoInitializationException. 93

r/aggregated/package.html

Error Line
Missing package documentation file. 0

r/defaults/ComponentSpecification.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Missing a Javadoc comment. 13
'{' should be on the previous line. 14
Missing a Javadoc comment. 15
Missing a Javadoc comment. 16
Missing a Javadoc comment. 18
'compType' hides a field. 18
'comp' hides a field. 18
'{' should be on the previous line. 19
Method 'getComponentType' is not designed for extension - needs to be abstract, final or empty. 24
Missing a Javadoc comment. 24
'{' should be on the previous line. 25
Method 'getComponentImplementation' is not designed for extension - needs to be abstract, final or empty. 29
Missing a Javadoc comment. 29
'{' should be on the previous line. 30

r/defaults/DefaultComponentFactory.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Missing a Javadoc comment. 19
Line is longer than 80 characters. 20
Method 'createComponent' is not designed for extension - needs to be abstract, final or empty. 20
Missing a Javadoc comment. 20
Parameter compType should be final. 20
Parameter constructor should be final. 20
Parameter args should be final. 20
Unable to get class information for PicoInvocationTargetInitailizationException. 20
Line is longer than 80 characters. 26
Line is longer than 80 characters. 28

r/defaults/DefaultPicoContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 16
Missing a Javadoc comment. 50
Missing a Javadoc comment. 51
Missing a Javadoc comment. 52
Missing a Javadoc comment. 55
Variable 'orderedComponents' must be private and have accessor methods. 55
Line is longer than 80 characters. 57
Missing a Javadoc comment. 58
Variable 'unmanagedComponents' must be private and have accessor methods. 58
Missing a Javadoc comment. 60
Missing a Javadoc comment. 61
Missing a Javadoc comment. 63
Missing a Javadoc comment. 64
Missing a Javadoc comment. 69
Parameter componentFactory should be final. 69
'componentFactory' hides a field. 69
Missing a Javadoc comment. 76
Line is longer than 80 characters. 87
Method 'getMultipleInheritanceProxy' is not designed for extension - needs to be abstract, final or empty. 90
'(' is followed by whitespace. 91
Line is longer than 80 characters. 101
Line is longer than 80 characters. 102
Unused @param tag for 'callInInstantiationOrder'. 102
Expected an @return tag. 105
Line is longer than 80 characters. 105
Method 'getAggregateComponentProxy' is not designed for extension - needs to be abstract, final or empty. 105
Parameter callInInstantiationOrder should be final. 105
Parameter callUnmanagedComponents should be final. 105
Expected @param tag for 'callUnmanagedComponents'. 105
Line is longer than 80 characters. 109
Missing a Javadoc comment. 112
Missing a Javadoc comment. 113
Missing a Javadoc comment. 114
Line is longer than 80 characters. 116
Missing a Javadoc comment. 116
Parameter callInInstantiationOrder should be final. 116
'callInInstantiationOrder' hides a field. 116
Parameter callUnmanagedComponents should be final. 116
'callUnmanagedComponents' hides a field. 116
Line is longer than 80 characters. 121
Method 'invoke' is not designed for extension - needs to be abstract, final or empty. 121
Missing a Javadoc comment. 121
Parameter proxy should be final. 121
Parameter method should be final. 121
Parameter args should be final. 121
'if' is not followed by whitespace. 125
'(' is followed by whitespace. 125
')' is preceeded with whitespace. 125
Line is longer than 80 characters. 133
Missing a Javadoc comment. 133
Parameter components should be final. 133
Parameter method should be final. 133
Parameter args should be final. 133
Line is longer than 80 characters. 138
Line is longer than 80 characters. 139
'if' is not followed by whitespace. 145
'(' is followed by whitespace. 145
')' is preceeded with whitespace. 145
Line is longer than 80 characters. 158
Line is longer than 80 characters. 165
'while' is not followed by whitespace. 167
'(' is followed by whitespace. 167
')' is preceeded with whitespace. 167
Line is longer than 80 characters. 175
Line is longer than 80 characters. 179
Method 'registerComponent' is not designed for extension - needs to be abstract, final or empty. 179
Missing a Javadoc comment. 179
Parameter componentType should be final. 179
Parameter componentImplementation should be final. 179
Redundant throws: 'DuplicateComponentTypeRegistrationException' is subclass of 'AssignabilityRegistrationException'. 179
Unable to get class information for DuplicateComponentTypeRegistrationException. 179
Redundant throws: 'AssignabilityRegistrationException' is subclass of 'NotConcreteRegistrationException'. 179
Unable to get class information for AssignabilityRegistrationException. 179
Redundant throws: 'NotConcreteRegistrationException' is subclass of 'WrongNumberOfConstructorsRegistrationException'. 179
Unable to get class information for NotConcreteRegistrationException. 179
Unable to get class information for WrongNumberOfConstructorsRegistrationException. 179
Line is longer than 80 characters. 184
Line is longer than 80 characters. 187
Missing a Javadoc comment. 187
Parameter componentImplementation should be final. 187
Unable to get class information for WrongNumberOfConstructorsRegistrationException. 187
Line is longer than 80 characters. 189
Line is longer than 80 characters. 192
Line is longer than 80 characters. 196
Missing a Javadoc comment. 196
Parameter componentType should be final. 196
Unable to get class information for DuplicateComponentTypeRegistrationException. 196
Line is longer than 80 characters. 197
Line is longer than 80 characters. 198
Line is longer than 80 characters. 205
Missing a Javadoc comment. 205
Parameter componentType should be final. 205
Parameter componentImplementation should be final. 205
Unable to get class information for AssignabilityRegistrationException. 205
Line is longer than 80 characters. 207
Line is longer than 80 characters. 211
Missing a Javadoc comment. 211
Parameter componentImplementation should be final. 211
Unable to get class information for NotConcreteRegistrationException. 211
Line is longer than 80 characters. 213
Line is longer than 80 characters. 219
Method 'registerComponent' is not designed for extension - needs to be abstract, final or empty. 219
Missing a Javadoc comment. 219
Parameter component should be final. 219
Unable to get class information for PicoRegistrationException. 219
Line is longer than 80 characters. 223
Method 'registerComponent' is not designed for extension - needs to be abstract, final or empty. 223
Missing a Javadoc comment. 223
Parameter componentType should be final. 223
Parameter component should be final. 223
Unable to get class information for PicoRegistrationException. 223
Line is longer than 80 characters. 232
Method 'addParameterToComponent' is not designed for extension - needs to be abstract, final or empty. 232
Missing a Javadoc comment. 232
Parameter componentType should be final. 232
Parameter parameter should be final. 232
Parameter arg should be final. 232
Line is longer than 80 characters. 240
Method 'registerComponent' is not designed for extension - needs to be abstract, final or empty. 240
Missing a Javadoc comment. 240
Parameter componentImplementation should be final. 240
Redundant throws: 'DuplicateComponentTypeRegistrationException' is subclass of 'AssignabilityRegistrationException'. 240
Unable to get class information for DuplicateComponentTypeRegistrationException. 240
Redundant throws: 'AssignabilityRegistrationException' is subclass of 'NotConcreteRegistrationException'. 240
Unable to get class information for AssignabilityRegistrationException. 240
Redundant throws: 'NotConcreteRegistrationException' is subclass of 'WrongNumberOfConstructorsRegistrationException'. 240
Unable to get class information for NotConcreteRegistrationException. 240
Unable to get class information for WrongNumberOfConstructorsRegistrationException. 240
Missing a Javadoc comment. 244
Missing a Javadoc comment. 245
Missing a Javadoc comment. 247
Parameter parameter should be final. 247
Method 'instantiateComponents' is not designed for extension - needs to be abstract, final or empty. 252
Missing a Javadoc comment. 252
Unable to get class information for PicoInitializationException. 252
Expression can be simplified. 253
Line is longer than 80 characters. 263
Missing a Javadoc comment. 263
Redundant throws: 'AmbiguousComponentResolutionException' is subclass of 'PicoInvocationTargetInitailizationException'. 263
Unable to get class information for AmbiguousComponentResolutionException. 263
Unable to get class information for PicoInvocationTargetInitailizationException. 263
Expression can be simplified. 265
Line is longer than 80 characters. 268
Line is longer than 80 characters. 269
Line is longer than 80 characters. 270
Line is longer than 80 characters. 274
Line is longer than 80 characters. 279
Line is longer than 80 characters. 286
Method 'hookEmUp' is not designed for extension - needs to be abstract, final or empty. 286
Missing a Javadoc comment. 286
Parameter componentImplementation should be final. 286
Parameter componentType should be final. 286
Parameter progress should be final. 286
Redundant throws: 'AmbiguousComponentResolutionException' is subclass of 'PicoInvocationTargetInitailizationException'. 286
Unable to get class information for AmbiguousComponentResolutionException. 286
Unable to get class information for PicoInvocationTargetInitailizationException. 286
Line is longer than 80 characters. 287
Line is longer than 80 characters. 291
Line is longer than 80 characters. 292
Avoid inline conditionals. 292
Line is longer than 80 characters. 298
Line is longer than 80 characters. 299
Expression can be simplified. 303
Line is longer than 80 characters. 305
Line is longer than 80 characters. 307
Line is longer than 80 characters. 315
Method 'reuseImplementationIfAppropriate' is not designed for extension - needs to be abstract, final or empty. 315
Missing a Javadoc comment. 315
Parameter componentType should be final. 315
Parameter componentImplementation should be final. 315
Line is longer than 80 characters. 322
Line is longer than 80 characters. 329
Missing a Javadoc comment. 329
Unable to get class information for UnsatisfiedDependencyStartupException. 329
Line is longer than 80 characters. 330
Line is longer than 80 characters. 331
Line is longer than 80 characters. 339
Method 'makeComponentInstance' is not designed for extension - needs to be abstract, final or empty. 339
Missing a Javadoc comment. 339
Parameter type should be final. 339
Parameter constructor should be final. 339
Parameter args should be final. 339
Unable to get class information for PicoInvocationTargetInitailizationException. 339
Line is longer than 80 characters. 343
Method 'getComponentForParam' is not designed for extension - needs to be abstract, final or empty. 343
Missing a Javadoc comment. 343
Parameter parameter should be final. 343
Unable to get class information for AmbiguousComponentResolutionException. 343
Line is longer than 80 characters. 346
Line is longer than 80 characters. 350
Line is longer than 80 characters. 361
Missing a Javadoc comment. 368
Parameter args should be final. 368
Method 'getComponent' is not designed for extension - needs to be abstract, final or empty. 378
Missing a Javadoc comment. 378
Parameter componentType should be final. 378
Method 'getComponentTypes' is not designed for extension - needs to be abstract, final or empty. 382
Missing a Javadoc comment. 382
Method 'hasComponent' is not designed for extension - needs to be abstract, final or empty. 388
Missing a Javadoc comment. 388
Parameter componentType should be final. 388

r/defaults/NullContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Missing a Javadoc comment. 16
Method 'hasComponent' is not designed for extension - needs to be abstract, final or empty. 17
Missing a Javadoc comment. 17
Parameter compType should be final. 17
Method 'getComponent' is not designed for extension - needs to be abstract, final or empty. 21
Missing a Javadoc comment. 21
Parameter compType should be final. 21
Method 'getComponents' is not designed for extension - needs to be abstract, final or empty. 25
Missing a Javadoc comment. 25
Method 'getComponentTypes' is not designed for extension - needs to be abstract, final or empty. 29
Missing a Javadoc comment. 29
Missing a Javadoc comment. 33
Unable to get class information for PicoInitializationException. 33

r/defaults/package.html

Error Line
Missing package documentation file. 0

r/hierarchical/AmbiguousComponentResolutionException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 14
Missing a Javadoc comment. 14
Missing a Javadoc comment. 15
Missing a Javadoc comment. 17
Parameter ambiguousClass should be final. 17
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 21
Missing a Javadoc comment. 21
Method 'getAmbiguousClasses' is not designed for extension - needs to be abstract, final or empty. 30
Missing a Javadoc comment. 30

r/hierarchical/AssignabilityRegistrationException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 15
Missing a Javadoc comment. 15
Missing a Javadoc comment. 17
Missing a Javadoc comment. 18
Missing a Javadoc comment. 20
Parameter type should be final. 20
'type' hides a field. 20
Parameter clazz should be final. 20
'clazz' hides a field. 20
'{' should be on the previous line. 21
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 26
Missing a Javadoc comment. 26
'{' should be on the previous line. 27
Line is longer than 80 characters. 28

r/hierarchical/CircularDependencyRegistrationException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 20

r/hierarchical/DuplicateComponentTypeRegistrationException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 15
Missing a Javadoc comment. 15
Missing a Javadoc comment. 17
Missing a Javadoc comment. 19
Parameter clazz should be final. 19
'clazz' hides a field. 19
'{' should be on the previous line. 20
Method 'getDuplicateClass' is not designed for extension - needs to be abstract, final or empty. 24
Missing a Javadoc comment. 24
'{' should be on the previous line. 25
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 29
Missing a Javadoc comment. 29
'{' should be on the previous line. 30

r/hierarchical/HierarchicalPicoContainer.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line contains a tab character. 16
Line is longer than 80 characters. 42
Missing a Javadoc comment. 42
Missing a Javadoc comment. 44
Line is longer than 80 characters. 46
Missing a Javadoc comment. 46
Parameter componentFactory should be final. 46
Parameter parentContainer should be final. 46
'parentContainer' hides a field. 46
Missing a Javadoc comment. 55
Missing a Javadoc comment. 56
Missing a Javadoc comment. 62
Missing a Javadoc comment. 63
Parameter parentContainer should be final. 63
'parentContainer' hides a field. 63
Missing a Javadoc comment. 68
Missing a Javadoc comment. 69
Parameter componentFactory should be final. 69
Method 'getComponent' is not designed for extension - needs to be abstract, final or empty. 74
Missing a Javadoc comment. 74
Parameter componentType should be final. 74
Method 'getComponentTypes' is not designed for extension - needs to be abstract, final or empty. 85
Missing a Javadoc comment. 85
Line is longer than 80 characters. 96
Method 'getComponentForParam' is not designed for extension - needs to be abstract, final or empty. 96
Missing a Javadoc comment. 96
Parameter parameter should be final. 96
Unable to get class information for AmbiguousComponentResolutionException. 96

r/hierarchical/ImplementationHidingComponentFactory.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 12
Missing a Javadoc comment. 12
Line is longer than 80 characters. 14
Method 'createComponent' is not designed for extension - needs to be abstract, final or empty. 14
Missing a Javadoc comment. 14
Parameter compType should be final. 14
Parameter constructor should be final. 14
Parameter args should be final. 14
Unable to get class information for PicoInvocationTargetInitailizationException. 14
Line is longer than 80 characters. 16
Missing a Javadoc comment. 19
Missing a Javadoc comment. 20
Missing a Javadoc comment. 22
Parameter componentInstance should be final. 22
'componentInstance' hides a field. 22
Line is longer than 80 characters. 26
Method 'invoke' is not designed for extension - needs to be abstract, final or empty. 26
Missing a Javadoc comment. 26
Parameter proxy should be final. 26
Parameter method should be final. 26
Parameter args should be final. 26

r/hierarchical/NotConcreteRegistrationException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 20
Missing a Javadoc comment. 21
Missing a Javadoc comment. 23
Parameter componentImplementation should be final. 23
'componentImplementation' hides a field. 23
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 27
Missing a Javadoc comment. 27
Line is longer than 80 characters. 28
Method 'getComponentImplementation' is not designed for extension - needs to be abstract, final or empty. 31
Missing a Javadoc comment. 31

r/hierarchical/UnsatisfiedDependencyStartupException.java

Error Line
Line does not match expected header line of 'Copyright (c) 2003, PicoContainer Organization'. 1
Line is longer than 80 characters. 15
Missing a Javadoc comment. 15
Missing a Javadoc comment. 17
Missing a Javadoc comment. 19
Parameter classThatNeedsDeps should be final. 19
'classThatNeedsDeps' hides a field. 19
'{' should be on the previous line. 20
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 24
Missing a Javadoc comment. 24
'{' should be on the previous line. 25
Line is longer than 80 characters. 26
Method 'getClassThatNeedsDeps' is not designed for extension - needs to be abstract, final or empty. 29
Missing a Javadoc comment. 29
'{' should be on the previous line. 30

r/hierarchical/WrongNumberOfConstructorsRegistrationException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 15
Missing a Javadoc comment. 15
Missing a Javadoc comment. 17
Variable 'numOfCtors' must be private and have accessor methods. 17
Missing a Javadoc comment. 19
Parameter numOfCtors should be final. 19
'numOfCtors' hides a field. 19
Method 'getMessage' is not designed for extension - needs to be abstract, final or empty. 23
Missing a Javadoc comment. 23
Line is longer than 80 characters. 24

r/hierarchical/package.html

Error Line
Missing package documentation file. 0

r/package.html

Error Line
Missing package documentation file. 0