Uses of Class
com.google.errorprone.refaster.Unifier
Packages that use Unifier
-
Uses of Unifier in com.google.errorprone.refaster
Subclasses with type arguments of type Unifier in com.google.errorprone.refasterModifier and TypeClassDescriptionclassUTree<T extends com.sun.tools.javac.tree.JCTree>A serializable representation of a template syntax tree which can be unified with a target AST and inlined based on a set of substitutions.classUTree<T extends com.sun.tools.javac.tree.JCTree>A serializable representation of a template syntax tree which can be unified with a target AST and inlined based on a set of substitutions.classA serializable representation of a type template, used for enforcing type constraints on target ASTs.classA serializable representation of a type template, used for enforcing type constraints on target ASTs.Methods in com.google.errorprone.refaster that return UnifierModifier and TypeMethodDescriptionUnifier.fork()Returns aUnifiercontaining all the bindings from thisUnifier, but which can succeed or fail independently of thisUnifier.TemplateMatch.getUnifier()abstract UnifierUStatement.UnifierWithUnconsumedStatements.unifier()Methods in com.google.errorprone.refaster that return types with arguments of type UnifierModifier and TypeMethodDescriptionUAnyOf.defaultAction(Tree tree, Unifier unifier) UFreeIdent.defaultAction(Tree target, Unifier unifier) UMethodIdent.defaultAction(Tree node, Unifier unifier) UPlaceholderExpression.defaultAction(Tree node, Unifier unifier) UStaticIdent.defaultAction(Tree node, Unifier unifier) UTree.defaultAction(Tree node, Unifier unifier) Template.typecheck(Unifier unifier, Inliner inliner, com.sun.tools.javac.util.Warner warner, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> expectedTypes, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> actualTypes) Unifier.unifications(@Nullable U unifiable, @Nullable T target) Unifier.unifications(@Nullable U unifiable, @Nullable T target) Unifier.unifications(@Nullable List<U> toUnify, @Nullable List<? extends T> targets) Unifier.unifications(@Nullable List<U> toUnify, @Nullable List<? extends T> targets) Unifier.unifications(@Nullable List<U> toUnify, @Nullable List<? extends T> targets, boolean allowVarargs) Unifier.unifications(@Nullable List<U> toUnify, @Nullable List<? extends T> targets, boolean allowVarargs) Returns all valid unification paths (if any) from thisUnifierthat unify this withtarget.Returns all successful unification paths from the specifiedUnifierunifying the specified lists, disallowing varargs.Unifier.unifyList(Unifier unifier, @Nullable List<U> toUnify, @Nullable List<? extends T> targets, boolean allowVarargs) Returns all successful unification paths from the specifiedUnifierunifying the specified lists, allowing varargs if and only ifallowVarargsis true.Unifier.unifyNullable(Unifier unifier, @Nullable U unifiable, @Nullable T target) UClassType.visitClassType(com.sun.tools.javac.code.Type.ClassType classType, Unifier unifier) UIntersectionClassType.visitClassType(com.sun.tools.javac.code.Type.ClassType t, Unifier unifier) UForAll.visitForAll(com.sun.tools.javac.code.Type.ForAll target, Unifier unifier) UFreeIdent.visitIdentifier(IdentifierTree node, Unifier unifier) UMemberSelect.visitIdentifier(IdentifierTree ident, Unifier unifier) ULiteral.visitLiteral(LiteralTree literal, Unifier unifier) UMemberSelect.visitMemberSelect(MemberSelectTree fieldAccess, Unifier unifier) UMethodInvocation.visitMethodInvocation(MethodInvocationTree methodInvocation, @Nullable Unifier unifier) UMethodType.visitMethodType(com.sun.tools.javac.code.Type.MethodType methodTy, @Nullable Unifier unifier) UReturn.visitReturn(ReturnTree ret, @Nullable Unifier unifier) UVariableDecl.visitVariable(VariableTree decl, Unifier unifier) Methods in com.google.errorprone.refaster with parameters of type UnifierModifier and TypeMethodDescriptionUStatement.UnifierWithUnconsumedStatements.create(Unifier unifier, List<? extends StatementTree> unconsumedStatements) UAnyOf.defaultAction(Tree tree, Unifier unifier) UFreeIdent.defaultAction(Tree target, Unifier unifier) UMethodIdent.defaultAction(Tree node, Unifier unifier) UPlaceholderExpression.defaultAction(Tree node, Unifier unifier) UStaticIdent.defaultAction(Tree node, Unifier unifier) UTree.defaultAction(Tree node, Unifier unifier) booleanTemplate.typecheck(Unifier unifier, Inliner inliner, com.sun.tools.javac.util.Warner warner, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> expectedTypes, com.sun.tools.javac.util.List<com.sun.tools.javac.code.Type> actualTypes) Returns all valid unification paths (if any) from thisUnifierthat unify this withtarget.Returns all successful unification paths from the specifiedUnifierunifying the specified lists, disallowing varargs.Unifier.unifyList(Unifier unifier, @Nullable List<U> toUnify, @Nullable List<? extends T> targets, boolean allowVarargs) Returns all successful unification paths from the specifiedUnifierunifying the specified lists, allowing varargs if and only ifallowVarargsis true.Unifier.unifyNullable(Unifier unifier, @Nullable U unifiable, @Nullable T target) UClassType.visitClassType(com.sun.tools.javac.code.Type.ClassType classType, Unifier unifier) UIntersectionClassType.visitClassType(com.sun.tools.javac.code.Type.ClassType t, Unifier unifier) UForAll.visitForAll(com.sun.tools.javac.code.Type.ForAll target, Unifier unifier) UFreeIdent.visitIdentifier(IdentifierTree node, Unifier unifier) UMemberSelect.visitIdentifier(IdentifierTree ident, Unifier unifier) ULiteral.visitLiteral(LiteralTree literal, Unifier unifier) UMemberSelect.visitMemberSelect(MemberSelectTree fieldAccess, Unifier unifier) UMethodInvocation.visitMethodInvocation(MethodInvocationTree methodInvocation, @Nullable Unifier unifier) UMethodType.visitMethodType(com.sun.tools.javac.code.Type.MethodType methodTy, @Nullable Unifier unifier) UReturn.visitReturn(ReturnTree ret, @Nullable Unifier unifier) UVariableDecl.visitVariable(VariableTree decl, Unifier unifier) Constructors in com.google.errorprone.refaster with parameters of type UnifierModifierConstructorDescriptionTemplateMatch(com.sun.tools.javac.tree.JCTree location, Unifier unifier)