Uses of Class
com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
Packages that use AbstractFuzzyMatcher
Package
Description
-
Uses of AbstractFuzzyMatcher in com.comphenix.protocol.reflect
Methods in com.comphenix.protocol.reflect with parameters of type AbstractFuzzyMatcherModifier and TypeMethodDescriptionConstructor<?>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.FuzzyReflection.getField(AbstractFuzzyMatcher<Field> matcher)Retrieve the first field that matches.FuzzyReflection.getFieldList(AbstractFuzzyMatcher<Field> matcher)Retrieve a list of every field that matches the given matcher.FuzzyReflection.getMethod(AbstractFuzzyMatcher<MethodInfo> matcher)Retrieve the first method that matches.FuzzyReflection.getMethod(AbstractFuzzyMatcher<MethodInfo> matcher, String preferred)Retrieve a method that matches.FuzzyReflection.getMethodList(AbstractFuzzyMatcher<MethodInfo> matcher)Retrieve a list of every method that matches the given matcher. -
Uses of AbstractFuzzyMatcher in com.comphenix.protocol.reflect.fuzzy
Subclasses of AbstractFuzzyMatcher in com.comphenix.protocol.reflect.fuzzyModifier and TypeClassDescriptionclassAbstractFuzzyMember<T extends Member>Represents a matcher that matches members.classDetermine if a given class implements a given fuzzy (duck typed) contract.classRepresents a field matcher.classRepresents a contract for matching methods or constructors.Fields in com.comphenix.protocol.reflect.fuzzy declared as AbstractFuzzyMatcherModifier and TypeFieldDescriptionprotected AbstractFuzzyMatcher<Class<?>>AbstractFuzzyMember.declaringMatcherMethods in com.comphenix.protocol.reflect.fuzzy that return AbstractFuzzyMatcherModifier and TypeMethodDescriptionAbstractFuzzyMatcher.and(AbstractFuzzyMatcher<T> other)Require that this and the given matcher be TRUE.AbstractFuzzyMember.getDeclaringMatcher()Retrieve a class matcher for the declaring class of the member.FuzzyMethodContract.getReturnMatcher()Retrieve the class matcher for the return type.FuzzyFieldContract.getTypeMatcher()Retrieve the class matcher that matches the type of a field.AbstractFuzzyMatcher.inverted()Create a fuzzy matcher that returns the opposite result of the current matcher.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchAll()Retrieve a fuzzy matcher that will match any class.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchAnyOf(Class<?>... classes)Construct a class matcher that matches any of the given classes exactly.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchAnyOf(Set<Class<?>> classes)Construct a class matcher that matches any of the given classes exactly.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchArray(AbstractFuzzyMatcher<Class<?>> componentMatcher)Construct a class matcher that matches an array with a given component matcher.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchDerived(Class<?> matcher)Construct a class matcher that matches derived types of the given class.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchExact(Class<?> matcher)Construct a class matcher that matches types exactly.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchParent()Match the parent class of a method, field or constructor.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchRegex(String regex, int priority)Construct a class matcher based on the canonical names of classes.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchRegex(Pattern regex, int priority)Construct a class matcher based on the canonical names of classes.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchSuper(Class<?> matcher)Construct a class matcher that matches super types of the given class.AbstractFuzzyMatcher.or(AbstractFuzzyMatcher<T> other)Require that either this or the other given matcher be TRUE.Methods in com.comphenix.protocol.reflect.fuzzy that return types with arguments of type AbstractFuzzyMatcherModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<AbstractFuzzyMatcher<Class<?>>>FuzzyClassContract.getBaseclassContracts()Retrieve an immutable list of every baseclass contract.com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>>FuzzyClassContract.getConstructorContracts()Retrieve an immutable list of every constructor contract.com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<Field>>FuzzyClassContract.getFieldContracts()Retrieve an immutable list of every field contract.com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<Class<?>>>FuzzyClassContract.getInterfaceContracts()Retrieve an immutable list of every interface contract.com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>>FuzzyClassContract.getMethodContracts()Retrieve an immutable list of every method contract.Methods in com.comphenix.protocol.reflect.fuzzy with parameters of type AbstractFuzzyMatcherModifier and TypeMethodDescriptionAbstractFuzzyMatcher.and(AbstractFuzzyMatcher<T> other)Require that this and the given matcher be TRUE.FuzzyClassContract.Builder.baseclass(AbstractFuzzyMatcher<Class<?>> matcher)Add a new base class contract.intAbstractFuzzyMatcher.compareTo(AbstractFuzzyMatcher<T> obj)FuzzyClassContract.Builder.constructor(AbstractFuzzyMatcher<MethodInfo> matcher)Add a new constructor contract.AbstractFuzzyMember.Builder.declaringClassMatching(AbstractFuzzyMatcher<Class<?>> classMatcher)Require that a member is defined by a class that matches the given matcher.FuzzyFieldContract.Builder.declaringClassMatching(AbstractFuzzyMatcher<Class<?>> classMatcher)FuzzyMethodContract.Builder.declaringClassMatching(AbstractFuzzyMatcher<Class<?>> classMatcher)FuzzyMethodContract.Builder.exceptionMatches(AbstractFuzzyMatcher<Class<?>> classMatcher)Add a throwable exception that must match the given matcher,FuzzyMethodContract.Builder.exceptionMatches(AbstractFuzzyMatcher<Class<?>> classMatcher, int index)Add a throwable exception that must match the given matcher and index.FuzzyClassContract.Builder.field(AbstractFuzzyMatcher<Field> matcher)Add a new field contract.FuzzyClassContract.Builder.interfaces(AbstractFuzzyMatcher<Class<?>> matcher)Add a new interface contract.static AbstractFuzzyMatcher<Class<?>>FuzzyMatchers.matchArray(AbstractFuzzyMatcher<Class<?>> componentMatcher)Construct a class matcher that matches an array with a given component matcher.static FuzzyFieldContractFuzzyFieldContract.matchType(AbstractFuzzyMatcher<Class<?>> matcher)Match a field by its type.FuzzyClassContract.Builder.method(AbstractFuzzyMatcher<MethodInfo> matcher)Add a new method contract.AbstractFuzzyMatcher.or(AbstractFuzzyMatcher<T> other)Require that either this or the other given matcher be TRUE.FuzzyMethodContract.Builder.parameterMatches(AbstractFuzzyMatcher<Class<?>> classMatcher)Add a new required parameter whose type must match the given class matcher.FuzzyMethodContract.Builder.parameterMatches(AbstractFuzzyMatcher<Class<?>> classMatcher, int index)Add a new required parameter whose type must match the given class matcher and index.FuzzyMethodContract.Builder.returnTypeMatches(AbstractFuzzyMatcher<Class<?>> classMatcher)Set a matcher that must match the return type of a matching method.FuzzyFieldContract.Builder.typeMatches(AbstractFuzzyMatcher<Class<?>> matcher) -
Uses of AbstractFuzzyMatcher in com.comphenix.protocol.reflect.instances
Constructors in com.comphenix.protocol.reflect.instances with parameters of type AbstractFuzzyMatcherModifierConstructorDescriptionBannedGenerator(AbstractFuzzyMatcher<Class<?>> classMatcher)Construct a generator that ensures any class that matches the given matcher is never constructed. -
Uses of AbstractFuzzyMatcher in com.comphenix.protocol.utility
Methods in com.comphenix.protocol.utility that return AbstractFuzzyMatcherModifier and TypeMethodDescriptionstatic AbstractFuzzyMatcher<Class<?>>MinecraftReflection.getMinecraftObjectMatcher()Retrieve a abstract fuzzy class matcher for Minecraft objects.