|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.detector.api.Detector com.android.tools.lint.checks.DateFormatDetector
public class DateFormatDetector
Checks for errors related to Date Formats
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.android.tools.lint.detector.api.Detector |
---|
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.JavaScanner, com.android.tools.lint.detector.api.Detector.OtherFileScanner, com.android.tools.lint.detector.api.Detector.ResourceFolderScanner, com.android.tools.lint.detector.api.Detector.XmlScanner |
Field Summary | |
---|---|
static com.android.tools.lint.detector.api.Issue |
DATE_FORMAT
Constructing SimpleDateFormat without an explicit locale |
static java.lang.String |
LOCALE_CLS
|
static java.lang.String |
SIMPLE_DATE_FORMAT_CLS
|
Constructor Summary | |
---|---|
DateFormatDetector()
Constructs a new DateFormatDetector |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getApplicableConstructorTypes()
|
com.android.tools.lint.detector.api.Speed |
getSpeed()
|
void |
visitConstructor(com.android.tools.lint.detector.api.JavaContext context,
lombok.ast.AstVisitor visitor,
lombok.ast.ConstructorInvocation node,
com.android.tools.lint.client.api.JavaParser.ResolvedMethod constructor)
|
Methods inherited from class com.android.tools.lint.detector.api.Detector |
---|
afterCheckFile, afterCheckLibraryProject, afterCheckProject, applicableSuperClasses, appliesTo, appliesTo, appliesToFolder, appliesToResourceRefs, beforeCheckFile, beforeCheckLibraryProject, beforeCheckProject, checkBinaryResource, checkCall, checkClass, checkClass, checkFolder, checkInstruction, createJavaVisitor, getApplicableAsmNodeTypes, getApplicableAttributes, getApplicableCallNames, getApplicableCallOwners, getApplicableElements, getApplicableFiles, getApplicableMethodNames, getApplicableNodeTypes, getSpeed, run, visitAttribute, visitBuildScript, visitDocument, visitElement, visitElementAfter, visitMethod, visitResourceReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.android.tools.lint.detector.api.Detector.JavaScanner |
---|
applicableSuperClasses, appliesToResourceRefs, checkClass, createJavaVisitor, getApplicableMethodNames, getApplicableNodeTypes, visitMethod, visitResourceReference |
Field Detail |
---|
public static final com.android.tools.lint.detector.api.Issue DATE_FORMAT
public static final java.lang.String LOCALE_CLS
public static final java.lang.String SIMPLE_DATE_FORMAT_CLS
Constructor Detail |
---|
public DateFormatDetector()
DateFormatDetector
Method Detail |
---|
@NonNull public com.android.tools.lint.detector.api.Speed getSpeed()
getSpeed
in class com.android.tools.lint.detector.api.Detector
@Nullable public java.util.List<java.lang.String> getApplicableConstructorTypes()
getApplicableConstructorTypes
in interface com.android.tools.lint.detector.api.Detector.JavaScanner
getApplicableConstructorTypes
in class com.android.tools.lint.detector.api.Detector
public void visitConstructor(@NonNull com.android.tools.lint.detector.api.JavaContext context, @Nullable lombok.ast.AstVisitor visitor, @NonNull lombok.ast.ConstructorInvocation node, @NonNull com.android.tools.lint.client.api.JavaParser.ResolvedMethod constructor)
visitConstructor
in interface com.android.tools.lint.detector.api.Detector.JavaScanner
visitConstructor
in class com.android.tools.lint.detector.api.Detector
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |