public class GroovySourceProcessor extends JavaSourceProcessor
applyLangMergerPluginPattern, attributeNamePattern, bndContentDirPattern, emptyCollectionPattern, getterUtilGetPattern, javaSourceInsideJSPTagPattern, jsonObjectPutBlockPattern, jsonObjectPutPattern, languageKeyPattern, mergeLangPattern, PORTAL_MAX_DIR_LEVEL, portalSource, principalExceptionPattern, sbAppendPattern, sbAppendWithStartingSpacePattern, sessionKeyPattern, singleLengthStringPattern, sourceFormatterArgs, stringUtilReplacePattern, taglibSessionKeyPattern| Constructor and Description |
|---|
GroovySourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInefficientStringMethods(java.lang.String line,
java.lang.String fileName,
java.lang.String absolutePath,
int lineCount) |
protected void |
checkMissingAuthor(java.lang.String content,
java.lang.String fileName,
java.lang.String className) |
protected void |
checkPackagePath(java.lang.String content,
java.lang.String fileName,
java.lang.String packagePath) |
protected java.util.List<java.lang.String> |
doGetFileNames() |
protected java.lang.String |
fixCopyright(java.lang.String content,
java.lang.String absolutePath,
java.lang.String fileName,
java.lang.String className) |
java.lang.String[] |
getIncludes() |
applyDiamondOperator, checkAnnotationMetaTypeProperties, checkAnnotationParameterProperties, checkAnnotationParameters, checkBndInheritAnnotationOption, checkDeserializationSecurity, checkFinderCacheInterfaceMethod, checkLogLevel, checkRegexPattern, checkSystemEventAnnotations, checkXMLSecurity, doFormat, fixDataAccessConnection, fixIfClause, fixIncorrectEmptyLineBeforeCloseCurlyBrace, fixMissingEmptyLineAfterSettingVariable, fixMissingEmptyLines, fixRedundantEmptyLines, fixSystemExceptions, formatAnnotations, formatArray, formatAssertEquals, formatClassLine, formatDuplicateReferenceMethods, formatExceptions, formatIfClause, formatIfClause, formatJava, formatModulesFile, formatOSGIComponents, getCombinedLinesContent, getCombinedLinesContent, getCombinedLinesContent, getFormattedClassLine, getIfClauseLineBreakPos, getImportedExceptionClassNames, getIncorrectLineBreakPos, getModuleClassContent, getModuleFileNamesMap, getModuleServicePackagePath, getModuleSuperClassContent, getPluginJavaFiles, getPortalJavaFiles, getTruncateLongLinesContent, hasGeneratedTag, isAnnotationParameter, isValidJavaParameter, postFormat, preFormat, setBNDInheritRequiredValue, sortExceptionsadjustLevel, checkEmptyCollection, checkGetterUtilGet, checkIfClauseParentheses, checkLanguageKeys, checkOrder, checkPrincipalException, checkPropertyUtils, checkResourceUtil, checkStringUtilReplace, checkUTF8, fixCompatClassImports, fixIncorrectParameterTypeForLanguageUtil, fixSessionKey, format, format, format, formatAttributes, formatEmptyArray, formatIncorrectSyntax, formatJavaTerms, formatJSONObject, formatStringBundler, formatTagAttributeType, formatWhitespace, formatWhitespace, getAbsolutePath, getAnnotationsExclusions, getBNDFileLanguageProperties, getBNDFileLocationAndContentTuple, getCompatClassNamesMap, getContent, getCustomCopyright, getErrorMessages, getFile, getFileNames, getFileNames, getFileNames, getFileNames, getFirstSourceMismatchException, getImmutableFieldTypes, getLanguageKeys, getLeadingTabCount, getLevel, getLevel, getLevel, getLevel, getLine, getLineCount, getLineLength, getLineStartPos, getMainReleaseVersion, getModifiedFileNames, getModuleLangDirNames, getModuleLangLanguageProperties, getModuleLanguageProperties, getParameterList, getProperty, getPropertyList, getRunOutsidePortalExcludes, hasMissingParentheses, hasRedundantParentheses, hasRedundantParentheses, isAttributName, isExcludedPath, isExcludedPath, isExcludedPath, isModulesFile, printError, processErrorMessage, processFormattedFile, readXML, replacePrimitiveWrapperInstantiation, setSourceFormatterArgs, sortHTMLAttributes, splitParameters, stripQuotes, stripQuotes, stripRedundantParentheses, trimContent, trimLinepublic java.lang.String[] getIncludes()
getIncludes in interface SourceProcessorgetIncludes in class JavaSourceProcessorprotected void checkInefficientStringMethods(java.lang.String line,
java.lang.String fileName,
java.lang.String absolutePath,
int lineCount)
checkInefficientStringMethods in class BaseSourceProcessorprotected void checkMissingAuthor(java.lang.String content,
java.lang.String fileName,
java.lang.String className)
checkMissingAuthor in class JavaSourceProcessorprotected void checkPackagePath(java.lang.String content,
java.lang.String fileName,
java.lang.String packagePath)
checkPackagePath in class JavaSourceProcessorprotected java.util.List<java.lang.String> doGetFileNames()
throws java.lang.Exception
doGetFileNames in class JavaSourceProcessorjava.lang.Exceptionprotected java.lang.String fixCopyright(java.lang.String content,
java.lang.String absolutePath,
java.lang.String fileName,
java.lang.String className)
throws java.io.IOException
fixCopyright in class BaseSourceProcessorjava.io.IOException