Klasse StaticAnalysis
java.lang.Object
de.firemage.autograder.core.integrated.StaticAnalysis
- Alle implementierten Schnittstellen:
AutoCloseable
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStaticAnalysis(UploadedFile file, Path jar, Consumer<LinterStatus> statusConsumer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()spoon.reflect.declaration.CtClass<?>findClassByName(String name) spoon.reflect.declaration.CtMethod<Void>findMain()spoon.reflect.declaration.CtMethod<?>findMethodBySignature(spoon.reflect.declaration.CtClass<?> clazz, String signature) spoon.reflect.factory.Factoryspoon.reflect.CtModelgetModel()<E extends spoon.reflect.declaration.CtElement>
voidprocessWith(spoon.processing.Processor<E> processor)
-
Konstruktordetails
-
StaticAnalysis
public StaticAnalysis(UploadedFile file, Path jar, Consumer<LinterStatus> statusConsumer) throws ModelBuildException, IOException - Löst aus:
ModelBuildExceptionIOException
-
-
Methodendetails
-
getFactory
public spoon.reflect.factory.Factory getFactory() -
getModel
public spoon.reflect.CtModel getModel() -
processWith
public <E extends spoon.reflect.declaration.CtElement> void processWith(spoon.processing.Processor<E> processor) -
findClassByName
-
findMethodBySignature
public spoon.reflect.declaration.CtMethod<?> findMethodBySignature(spoon.reflect.declaration.CtClass<?> clazz, String signature) -
findMain
-
getAllPackageNames
-
close
- Angegeben von:
closein SchnittstelleAutoCloseable- Löst aus:
IOException
-