public abstract class NSignatureBase<T,A extends net.thevpc.nuts.reflect.NSignature<T,?>> extends Object implements net.thevpc.nuts.reflect.NSignature<T,A>
| Modifier | Constructor and Description |
|---|---|
protected |
NSignatureBase(String name,
T[] types,
boolean vararg,
net.thevpc.nuts.reflect.NSignatureDomain<T> domain) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract A |
_create(String name,
T[] types,
boolean vararg) |
net.thevpc.nuts.reflect.NSignatureScore |
calculateScore(A other) |
protected static <T> void |
checkVararg(T[] types,
net.thevpc.nuts.reflect.NSignatureDomain<T> domain) |
net.thevpc.nuts.reflect.NSignatureDomain<T> |
domain() |
boolean |
equals(Object o) |
protected int |
getDistance(T expected,
T actual) |
T |
getType(int index) |
int |
hashCode() |
boolean |
isNamed() |
boolean |
isVarArgs() |
boolean |
matches(A other) |
net.thevpc.nuts.util.NOptional<String> |
name() |
A |
set(T any,
int pos) |
A |
setVararg(boolean vararg) |
int |
size() |
A |
toNamed(String newName) |
String |
toString() |
A |
toUnnamed() |
T[] |
types() |
protected static <T> void checkVararg(T[] types,
net.thevpc.nuts.reflect.NSignatureDomain<T> domain)
public net.thevpc.nuts.reflect.NSignatureDomain<T> domain()
public net.thevpc.nuts.util.NOptional<String> name()
public A toUnnamed()
public boolean isNamed()
public T getType(int index)
public A setVararg(boolean vararg)
public int size()
public T[] types()
public boolean isVarArgs()
public boolean matches(A other)
public net.thevpc.nuts.reflect.NSignatureScore calculateScore(A other)
Copyright © 2026 vpc open source initiative. All rights reserved.