@SingletonDefault(implFor=SourceService.class) public class SourceServiceDefault extends Object implements SourceService
| Constructor and Description |
|---|
SourceServiceDefault() |
| Modifier and Type | Method and Description |
|---|---|
char |
classSeparator() |
protected String |
getPackage(Class<?> cls)
Gwt-dev mode has to acquire the package from a different classloader than
the isolated app classloader, which strips the package object from classes.
|
char |
packageSeparator() |
IsClass |
parseClass(byte[] bytecode) |
IsClass |
parseClass(String source) |
IsType |
toType(Class<?> cls) |
IsType |
toType(String pkg,
String enclosedName) |
public IsClass parseClass(byte[] bytecode)
parseClass in interface SourceServicepublic IsClass parseClass(String source)
parseClass in interface SourceServicepublic IsType toType(Class<?> cls)
toType in interface SourceServiceprotected String getPackage(Class<?> cls)
cls - - The class to get the package name ofpublic IsType toType(String pkg, String enclosedName)
toType in interface SourceServicepublic char classSeparator()
classSeparator in interface SourceServicepublic char packageSeparator()
packageSeparator in interface SourceServiceCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.