Class IntegratedCheck
java.lang.Object
de.firemage.autograder.core.integrated.IntegratedCheck
- All Implemented Interfaces:
Check
- Direct Known Subclasses:
AssertCheck,AvoidInnerClasses,AvoidLabels,AvoidRecompilingRegex,AvoidShadowing,AvoidStringConcat,BinaryOperator,BooleanIdentifierCheck,ChainedIfCheck,CharRange,CheckIterableDuplicates,CheckStaticBlocks,ClosedSetOfValues,CollectionAddAll,CollectionsNCopies,CommentedOutCodeCheck,CommentLanguageCheck,CompareCharValue,CompareObjectsNotStringsCheck,ConcreteCollectionCheck,ConstantNamingAndQualifierCheck,ConstantsHaveDescriptiveNamesCheck,CustomExceptionInheritanceCheck,DefaultPackageCheck,DoNotMakeConstantsClasses,DoNotUseRawTypes,DoNotUseSystemExit,EmptyBlockCheck,EqualsHashCodeComparableContract,ExceptionControlFlowCheck,ExceptionMessageCheck,ExtendsObjectCheck,FieldJavadocCheck,FieldShouldBeFinal,FieldShouldBeLocalCheck,ForToForEachLoop,ImplementComparable,ImportTypes,InheritanceBadPractices,InstanceOf,InterfaceBadPractices,IOUISeparation,IsEmptyReimplementationCheck,JavadocReturnNullCheck,JavadocStubCheck,LinguisticNamingCheck,ListGetterSetterCheck,MagicString,MathReimplementation,MethodJavadocCheck,MethodShouldBeAbstractCheck,MultipleInlineStatements,MultiThreading,MutableEnum,NumberFormatExceptionIgnored,ObjectDatatype,OldCollectionCheck,OptionalBadPractices,OverrideAnnotationMissing,PackageNamingConvention,PrintStackTraceCheck,ReassignedParameterCheck,RedundantAssignment,RedundantBooleanEqual,RedundantCatch,RedundantElse,RedundantIfForBooleanCheck,RedundantModifier,RedundantNegationCheck,RedundantUninitializedVariable,RedundantVariable,RegexCheck,RepeatedMathOperationCheck,RuntimeExceptionCatchCheck,ScannerClosedCheck,SelfAssignmentCheck,ShouldBeEnumAttribute,SimplifyArraysFill,StaticFieldShouldBeInstanceCheck,StringCompareCheck,StringRepeat,SuppressWarningsCheck,SystemSpecificLineBreak,ThrowsJavadocCheck,TodoComment,TooFewPackagesCheck,TooManyExceptions,TryCatchComplexity,TypeJavadocCheck,TypesHaveDescriptiveNamesCheck,UncheckedTypeCast,UnnecessaryBoxing,UnnecessaryComment,UnusedCodeElementCheck,UnusedImport,UseArrayCopy,UseArraysFill,UseDifferentVisibility,UseEntrySet,UseEnumCollection,UseEnumValues,UseFormatString,UseGuardClauses,UseModuloOperator,UseOperatorAssignment,UseStringFormatted,UseSubList,UtilityClassCheck,VariablesHaveDescriptiveNamesCheck,WrapperInstantiationCheck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLocalProblem(CodePosition position, Translatable explanation, ProblemType problemType) protected voidaddLocalProblem(spoon.reflect.declaration.CtElement element, Translatable explanation, ProblemType problemType) protected abstract voidcheck(StaticAnalysis staticAnalysis, DynamicAnalysis dynamicAnalysis) protected SourceInfogetRoot()run(StaticAnalysis staticAnalysis, DynamicAnalysis dynamicAnalysis, SourceInfo sourceInfo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.firemage.autograder.core.check.Check
maximumProblems, merge
-
Constructor Details
-
IntegratedCheck
protected IntegratedCheck()
-
-
Method Details
-
addLocalProblem
protected void addLocalProblem(spoon.reflect.declaration.CtElement element, Translatable explanation, ProblemType problemType) -
addLocalProblem
protected void addLocalProblem(CodePosition position, Translatable explanation, ProblemType problemType) -
run
public List<Problem> run(StaticAnalysis staticAnalysis, DynamicAnalysis dynamicAnalysis, SourceInfo sourceInfo) -
check
-
getLinter
-
getRoot
-