public class CheckParameterizables
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CheckParameterizables.State
Current verification state.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.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(java.lang.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(java.lang.Class<?> cls,
java.lang.Class<? extends AbstractParameterizer> par) |
private boolean |
checkSupertypes(java.lang.Class<?> cls)
Check all supertypes of a class.
|
private CheckParameterizables.State |
checkV3Parameterization(java.lang.Class<?> cls,
CheckParameterizables.State state)
Check for a V3 constructor.
|
static void |
main(java.lang.String[] args) |
private static final Logging LOG
private java.util.List<java.lang.Class<?>> knownParameterizables
public void checkParameterizables()
private boolean checkSupertypes(java.lang.Class<?> cls)
cls
- Class to check.true
when at least one supertype is a known parameterizable
type.private CheckParameterizables.State checkV3Parameterization(java.lang.Class<?> cls, CheckParameterizables.State state) throws java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError
private CheckParameterizables.State checkDefaultConstructor(java.lang.Class<?> cls, CheckParameterizables.State state) throws java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError
private boolean checkParameterizer(java.lang.Class<?> cls, java.lang.Class<? extends AbstractParameterizer> par)
public static void main(java.lang.String[] args)
args
- Command line argumentsCopyright © 2019 ELKI Development Team. License information.