public class PropertyFileDetector
extends com.android.tools.lint.detector.api.Detector
TODO: Warn about bad paths like sdk properties with ' in the path, or suffix of " " etc
com.android.tools.lint.detector.api.Detector.BinaryResourceScanner, com.android.tools.lint.detector.api.Detector.ClassScanner, com.android.tools.lint.detector.api.Detector.GradleScanner, com.android.tools.lint.detector.api.Detector.OtherFileScanner, com.android.tools.lint.detector.api.Detector.ResourceFolderScanner, com.android.tools.lint.detector.api.Detector.UastScanner, com.android.tools.lint.detector.api.Detector.XmlScanner| Modifier and Type | Field and Description |
|---|---|
static com.android.tools.lint.detector.api.Issue |
ESCAPE
Property file not escaped
|
static com.android.tools.lint.detector.api.Issue |
HTTP
Using HTTP instead of HTTPS for the wrapper
|
| Constructor and Description |
|---|
PropertyFileDetector()
Constructs a new
PropertyFileDetector |
| Modifier and Type | Method and Description |
|---|---|
void |
run(com.android.tools.lint.detector.api.Context context) |
afterCheckFile, afterCheckLibraryProject, afterCheckProject, analyzeCallGraph, applicableAnnotations, applicableSuperClasses, appliesTo, appliesTo, appliesToResourceRefs, beforeCheckFile, beforeCheckLibraryProject, beforeCheckProject, checkBinaryResource, checkCall, checkClass, checkClass, checkFolder, checkInstruction, createPsiVisitor, createUastHandler, fix, getApplicableAsmNodeTypes, getApplicableAttributes, getApplicableCallNames, getApplicableCallOwners, getApplicableConstructorTypes, getApplicableElements, getApplicableFiles, getApplicableMethodNames, getApplicablePsiTypes, getApplicableReferenceNames, getApplicableUastTypes, getSpeed, isApplicableAnnotationUsage, isCallGraphRequired, visitAnnotationUsage, visitAttribute, visitBuildScript, visitClass, visitClass, visitConstructor, visitConstructor, visitDocument, visitElement, visitElementAfter, visitMethod, visitMethod, visitReference, visitReference, visitResourceReference, visitResourceReferencepublic static final com.android.tools.lint.detector.api.Issue ESCAPE
public static final com.android.tools.lint.detector.api.Issue HTTP
public PropertyFileDetector()
PropertyFileDetector