Data Structures
Delegates
Services
GetASTofSourceTreeService
Description
gets the AST of the source tree
extract AST from a source tree
API
- StringBuilder apply(Path rootPath)
dependencies
- WalkTreeService
- GenerateAstService
WalkTreeService
Description
API
- apply(File rootConsumer<File> consumer)
dependencies
GenerateAstService
Description
API
-
apply(Path pathAppendable appendable)
-
RootNode apply(Path path)
dependencies
- PmdParsingExternalComponent
Repositories
Utilities
TestUtil
API
-
diffCollections(Set<T> expectedSet<T> actual)
-
String getFileContents(Path path)
-
assertStreamEquals(Set<> expectedStream<> actual)
-
String loadResourceAsString(String definitionName)
MiscUtil
API
-
StackTraceElement getStackElementAtHeight( depth)
-
syserr(String message)
-
sysout(String message)
LogUtil
API
-
addDebuggedClass(Class<> debuggedClass)
-
clearDebuggedClasses()
-
debug( args)
-
debug( depth args)
-
warning( args)
-
warning( depth args)
-
info( args)
-
info( depth args)
-
doLog(StackTraceElement stackTraceElementLevel level args)
fields
- [private, static] Set<String> debuggedClasses
- [private, static] Logger logger
GeneratorUtil
API
-
StringBuilder testDataBoilerPlate(String preamble extendeds)
-
StringBuilder testDataTail(StringBuilder builder)
-
StringBuilder stubBoilerPlate(String preamble implementeds)
-
StringBuilder stubTail(StringBuilder builder)
-
StringBuilder generateBoilerPlate(String preambleString extendTypeString pattern implementeds)
-
StringBuilder mapToCode(String inputFunction<String> mapperStringBuilder builder)
-
StringBuilder mapToCode(Stream<String> inputFunction<String> mapperStringBuilder builder)
-
Stream<String> linesOf(String input)
-
Function<StringString> stringConstant(String postfix)
Glue
TheClass
API
fields
- [] theField
TheClass
API
fields
- [] theField
TestBase
API
-
setUp()
-
tearDown()
-
stubUp(Object test)
-
stubFill(Object instance)
Generate
API
-
main( args)
-
Class<Supplier<StringBuilder>> getGeneratorByName(String className)
SourceFileNode
API
-
String getPath()
-
String getXPathNodeName()
-
Node getChild( index)
-
getNumChildren()
fields
- [] Node child
- [] String path
AbstractHackNode
API
-
TextRegion getTextRegion()
-
DataMap<DataKey<>> getUserMap()
-
Node getParent()
-
getIndexInParent()
GenerateAST
API
- main( args)
SourceTreeNode
API
-
Node getChild( index)
-
getNumChildren()
-
String getXPathNodeName()
-
addChild(SourceFileNode child)
-
AstInfo<> getAstInfo()
fields
- [] List<SourceFileNode> children
Config
API
LoggerService
API
-
debug( args)
-
warning( args)
-
info( args)
