Uses of Enum
com.google.errorprone.fixes.SuggestedFixes.AdditionPosition
Package
Description
Support code for providing automated corrections for defects we find.
-
Uses of SuggestedFixes.AdditionPosition in com.google.errorprone.fixes
Modifier and TypeClassDescriptionstatic enum
InstructsSuggestedFixes.addMembers(ClassTree, VisitorState, AdditionPosition, String, String...)
whether to add the new member(s) at the beginning of the class, or at the end.Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static SuggestedFixes.AdditionPosition[]
SuggestedFixes.AdditionPosition.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional
<SuggestedFix> SuggestedFixes.addMembers
(com.sun.source.tree.ClassTree classTree, VisitorState state, SuggestedFixes.AdditionPosition where, Iterable<String> members) static SuggestedFix
SuggestedFixes.addMembers
(com.sun.source.tree.ClassTree classTree, VisitorState state, SuggestedFixes.AdditionPosition where, String firstMember, String... otherMembers) Returns aFix
that adds members defined byfirstMember
(and optionallyotherMembers
) to the class referenced byclassTree
.