public final class JULLoggingApiSpecification extends AbstractLoggingApiSpecification
| Constructor and Description |
|---|
JULLoggingApiSpecification(java.util.function.Function<java.lang.String,TargetLogLevel> targetLogLevelFunction,
LogMessageFactory logMessageFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchConditionalMethod(com.sun.source.tree.ExpressionTree expressionTree,
com.google.errorprone.VisitorState state) |
boolean |
matchImport(com.sun.source.tree.Tree qualifiedIdentifier,
com.google.errorprone.VisitorState visitorState) |
boolean |
matchLogFactory(com.sun.source.tree.VariableTree variableTree,
com.google.errorprone.VisitorState visitorState) |
boolean |
matchLoggingMethod(com.sun.source.tree.ExpressionTree expressionTree,
com.google.errorprone.VisitorState state) |
FloggerConditionalStatement |
parseConditionalMethod(MethodInvocation methodInvocation) |
FloggerLogStatement |
parseLoggingMethod(MethodInvocation methodInvocation,
MigrationContext migrationContext) |
boolean |
shouldRemoveImport(java.lang.String importString) |
createLogMessage, createLogMessage, mapLogLevelpublic JULLoggingApiSpecification(java.util.function.Function<java.lang.String,TargetLogLevel> targetLogLevelFunction, LogMessageFactory logMessageFactory)
public boolean matchConditionalMethod(com.sun.source.tree.ExpressionTree expressionTree,
com.google.errorprone.VisitorState state)
public boolean matchLoggingMethod(com.sun.source.tree.ExpressionTree expressionTree,
com.google.errorprone.VisitorState state)
public boolean matchLogFactory(com.sun.source.tree.VariableTree variableTree,
com.google.errorprone.VisitorState visitorState)
public boolean matchImport(com.sun.source.tree.Tree qualifiedIdentifier,
com.google.errorprone.VisitorState visitorState)
public boolean shouldRemoveImport(java.lang.String importString)
public FloggerConditionalStatement parseConditionalMethod(MethodInvocation methodInvocation)
public FloggerLogStatement parseLoggingMethod(MethodInvocation methodInvocation, MigrationContext migrationContext)