Index

A C E F G H I L M N O R T V 
All Classes and Interfaces|All Packages

A

AbstractMethodDetection - Class in org.sonar.java.checks.methods
 
AbstractMethodDetection() - Constructor for class org.sonar.java.checks.methods.AbstractMethodDetection
 
alwaysReturnSameValue(ExpressionTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
args - Variable in class org.sonar.java.checks.helpers.CredentialMethod
 

C

cls - Variable in class org.sonar.java.checks.helpers.CredentialMethod
 
concatenate(ExpressionTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
CredentialMethod - Class in org.sonar.java.checks.helpers
 
CredentialMethod(String, String, List<String>, List<Integer>) - Constructor for class org.sonar.java.checks.helpers.CredentialMethod
 
CredentialMethodsLoader - Class in org.sonar.java.checks.helpers
 

E

ExpressionsHelper - Class in org.sonar.java.checks.helpers
 
ExpressionsHelper.ValueResolution<T> - Class in org.sonar.java.checks.helpers
 

F

findClosestParentOfKind(Tree, Set<Tree.Kind>) - Static method in class org.sonar.java.checks.helpers.TreeHelper
 
findReachableMethodsInSameFile(Tree) - Static method in class org.sonar.java.checks.helpers.TreeHelper
Will find all methods that can be reached from this tree because they may be called (transitively) by the current method or callees.

G

getClosestReassignmentOrDeclarationExpression(Tree, Symbol) - Static method in class org.sonar.java.checks.helpers.ReassignmentFinder
 
getConstantValueAsBoolean(ExpressionTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
getConstantValueAsString(ExpressionTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
getConstantValueAsString(ExpressionTree, String) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
getIdentifierAssignments(IdentifierTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
getInitializerOrExpression(Tree) - Static method in class org.sonar.java.checks.helpers.ReassignmentFinder
 
getInvokedSymbol(MethodInvocationTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
getMethodInvocationMatchers() - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 
getReassignments(Tree, List<IdentifierTree>) - Static method in class org.sonar.java.checks.helpers.ReassignmentFinder
 
getSingleWriteUsage(Symbol) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 

H

HardcodedStringExpressionChecker - Class in org.sonar.java.checks.helpers
This class is used to determine if an expression evaluates to a static string.

I

indices - Variable in class org.sonar.java.checks.helpers.CredentialMethod
 
initializedAndAssignedExpressionStream(Symbol) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
isConstructor() - Method in class org.sonar.java.checks.helpers.CredentialMethod
 
isExpressionDerivedFromPlainText(ExpressionTree, List<JavaFileScannerContext.Location>, Set<Symbol>) - Static method in class org.sonar.java.checks.helpers.HardcodedStringExpressionChecker
 
isNotReassigned(Symbol) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 
isNotSerializable(ExpressionTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
 

L

load(String) - Static method in class org.sonar.java.checks.helpers.CredentialMethodsLoader
 

M

methodMatcher() - Method in class org.sonar.java.checks.helpers.CredentialMethod
 

N

name - Variable in class org.sonar.java.checks.helpers.CredentialMethod
 
nodesToVisit() - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 

O

onConstructorFound(NewClassTree) - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 
onMethodInvocationFound(MethodInvocationTree) - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 
onMethodReferenceFound(MethodReferenceTree) - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 
org.sonar.java.checks.helpers - package org.sonar.java.checks.helpers
 
org.sonar.java.checks.methods - package org.sonar.java.checks.methods
 

R

ReassignmentFinder - Class in org.sonar.java.checks.helpers
Helper class to be used to find the latest ExpressionTree used as initializer (for a VariableTree) or expression used in assignment (for a AssignmentExpressionTree) for a given variable.
reportOnClassTree(ClassTree) - Static method in class org.sonar.java.checks.helpers.ExpressionsHelper
Return the correct tree to report on for class trees.

T

TreeHelper - Class in org.sonar.java.checks.helpers
 

V

value() - Method in class org.sonar.java.checks.helpers.ExpressionsHelper.ValueResolution
 
valuePath() - Method in class org.sonar.java.checks.helpers.ExpressionsHelper.ValueResolution
 
ValueResolution() - Constructor for class org.sonar.java.checks.helpers.ExpressionsHelper.ValueResolution
 
ValueResolution(String) - Constructor for class org.sonar.java.checks.helpers.ExpressionsHelper.ValueResolution
 
visitNode(Tree) - Method in class org.sonar.java.checks.methods.AbstractMethodDetection
 
A C E F G H I L M N O R T V 
All Classes and Interfaces|All Packages