public class CheckParameterizables extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CheckParameterizables.State
Current verification state.
|
Modifier and Type | Field and Description |
---|---|
private List<Class<?>> |
knownParameterizables
Known parameterizable classes/interfaces.
|
private static Logging |
LOG
The logger for this class.
|
Constructor and Description |
---|
CheckParameterizables() |
Modifier and Type | Method and Description |
---|---|
private CheckParameterizables.State |
checkDefaultConstructor(Class<?> cls,
CheckParameterizables.State state)
Check for a default constructor.
|
void |
checkParameterizables()
Validate all "Parameterizable" objects for parts of the API contract that
cannot be specified in Java interfaces (such as constructors, static
methods)
|
private boolean |
checkParameterizer(Class<?> cls,
Class<? extends AbstractParameterizer> par) |
private boolean |
checkSupertypes(Class<?> cls)
Check all supertypes of a class.
|
private CheckParameterizables.State |
checkV1Parameterization(Class<?> cls,
CheckParameterizables.State state)
Check for a V1 constructor.
|
private CheckParameterizables.State |
checkV2Parameterization(Class<?> cls,
CheckParameterizables.State state)
Check for a V2 constructor.
|
private CheckParameterizables.State |
checkV3Parameterization(Class<?> cls,
CheckParameterizables.State state)
Check for a V3 constructor.
|
static void |
main(String[] args) |
private static final Logging LOG
public void checkParameterizables()
private boolean checkSupertypes(Class<?> cls)
cls
- Class to check.true
when at least one supertype is a known parameterizable
type.private CheckParameterizables.State checkV1Parameterization(Class<?> cls, CheckParameterizables.State state) throws NoClassDefFoundError
NoClassDefFoundError
private CheckParameterizables.State checkV2Parameterization(Class<?> cls, CheckParameterizables.State state) throws NoClassDefFoundError
NoClassDefFoundError
private CheckParameterizables.State checkV3Parameterization(Class<?> cls, CheckParameterizables.State state) throws NoClassDefFoundError
NoClassDefFoundError
private CheckParameterizables.State checkDefaultConstructor(Class<?> cls, CheckParameterizables.State state) throws NoClassDefFoundError
NoClassDefFoundError
private boolean checkParameterizer(Class<?> cls, Class<? extends AbstractParameterizer> par)
public static void main(String[] args)
args
- Command line argumentsCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.