mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 09:24:42 -04:00
some minor changes
This commit is contained in:
parent
aaf243381f
commit
f85ab67fca
@ -49,7 +49,7 @@ public final class JavaClass<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates the method map
|
* Creates the method map.
|
||||||
*
|
*
|
||||||
* @param instance the instance to call
|
* @param instance the instance to call
|
||||||
* @return the method map
|
* @return the method map
|
||||||
@ -65,7 +65,7 @@ public final class JavaClass<T> {
|
|||||||
private final int argCount;
|
private final int argCount;
|
||||||
private final int javaArgCount;
|
private final int javaArgCount;
|
||||||
private final boolean isVarArgs;
|
private final boolean isVarArgs;
|
||||||
private Class<?> compType;
|
private final Class<?> compType;
|
||||||
|
|
||||||
private MyMethod(Method method) {
|
private MyMethod(Method method) {
|
||||||
this.method = method;
|
this.method = method;
|
||||||
@ -84,6 +84,7 @@ public final class JavaClass<T> {
|
|||||||
argCount = argTypes.length - 1;
|
argCount = argTypes.length - 1;
|
||||||
else
|
else
|
||||||
argCount = argTypes.length;
|
argCount = argTypes.length;
|
||||||
|
compType = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user