| Package | Description |
|---|---|
| com.comphenix.protocol.reflect | |
| com.comphenix.protocol.reflect.fuzzy |
| Modifier and Type | Method and Description |
|---|---|
static MethodInfo |
MethodInfo.fromConstructor(Constructor<?> constructor)
Wraps a constructor as a method information object.
|
static MethodInfo |
MethodInfo.fromMethod(Method method)
Wraps a method as a MethodInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
static List<MethodInfo> |
MethodInfo.fromConstructors(Collection<Constructor<?>> constructors)
Construct a list of method infos from a given collection of constructors.
|
static Collection<MethodInfo> |
MethodInfo.fromConstructors(Constructor<?>[] constructors)
Construct a list of method infos from a given array of constructors.
|
static List<MethodInfo> |
MethodInfo.fromMethods(Collection<Method> methods)
Construct a list of method infos from a given collection of methods.
|
static Collection<MethodInfo> |
MethodInfo.fromMethods(Method[] methods)
Construct a list of method infos from a given array of methods.
|
| Modifier and Type | Method and Description |
|---|---|
Constructor<?> |
FuzzyReflection.getConstructor(AbstractFuzzyMatcher<MethodInfo> matcher)
Retrieve the first constructor that matches.
|
List<Constructor<?>> |
FuzzyReflection.getConstructorList(AbstractFuzzyMatcher<MethodInfo> matcher)
Retrieve a list of every constructor that matches the given matcher.
|
Method |
FuzzyReflection.getMethod(AbstractFuzzyMatcher<MethodInfo> matcher)
Retrieve the first method that matches.
|
Method |
FuzzyReflection.getMethod(AbstractFuzzyMatcher<MethodInfo> matcher,
String preferred)
Retrieve a method that matches.
|
List<Method> |
FuzzyReflection.getMethodList(AbstractFuzzyMatcher<MethodInfo> matcher)
Retrieve a list of every method that matches the given matcher.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>> |
FuzzyClassContract.getConstructorContracts()
Retrieve an immutable list of every constructor contract.
|
com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>> |
FuzzyClassContract.getMethodContracts()
Retrieve an immutable list of every method contract.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FuzzyMethodContract.isMatch(MethodInfo value,
Object parent) |
| Modifier and Type | Method and Description |
|---|---|
FuzzyClassContract.Builder |
FuzzyClassContract.Builder.constructor(AbstractFuzzyMatcher<MethodInfo> matcher)
Add a new constructor contract.
|
FuzzyClassContract.Builder |
FuzzyClassContract.Builder.method(AbstractFuzzyMatcher<MethodInfo> matcher)
Add a new method contract.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.