public class Parser
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
class |
Parser.ClassSource |
class |
Parser.FieldSource |
class |
Parser.ImportSource |
class |
Parser.InterfaceSource |
class |
Parser.LocalException |
class |
Parser.MemberSource |
static class |
Parser.MethodArgumentSource |
static class |
Parser.MethodArgumentToString |
class |
Parser.MethodSource |
class |
Parser.PackageSource |
class |
Parser.SyntaxArgNameExpectedException |
class |
Parser.SyntaxArgTypeExpectedException |
class |
Parser.SyntaxCommaOrSemicolonOrEqualsExpectedAfterFieldNameException |
class |
Parser.SyntaxException |
class |
Parser.SyntaxIdentifierExpectedException |
class |
Parser.SyntaxIllegalThrowsException |
class |
Parser.SyntaxNextArgOrBraceExpectedException |
class |
Parser.SyntaxNextFieldOfSameTypeException |
class |
Parser.SyntaxRightSquareBracketExpectedException |
class |
Parser.SyntaxSemicolonExpectedAfterSeverelFieldsException |
class |
Parser.SyntaxSemicolonExpectedException |
class |
Parser.SyntaxWordAfterDotExpectedException |
Modifier and Type | Field and Description |
---|---|
char |
activeLocalClassSeparator |
java.lang.String |
currentClassName |
Parser.PackageSource |
currentPackage |
static int |
DEBUG_LEVEL |
ExtendedTokenizer |
et |
boolean |
fillMethodsBodies |
java.lang.String |
javaFileName |
static char |
MEMBER_SEPARATOR |
java.util.List |
memberSources |
static int |
METHODS_MAPPING_NAME |
static int |
METHODS_MAPPING_ONLY_NOT_OVERLOADED |
static int |
METHODS_MAPPING_PREVIOUS_SIGNATURE |
static int |
METHODS_MAPPING_SIGNATURE |
static char |
NESTED_CLASS_SEPARATOR |
java.lang.String |
parseMethodArgNameSquareBrackets |
Constructor and Description |
---|
Parser() |
Parser(char[] src,
boolean decodeUnicodeEscapes) |
Parser(java.lang.String src,
boolean decodeUnicodeEscapes) |
Modifier and Type | Method and Description |
---|---|
void |
expandMethodArgumentTypes(java.lang.ClassLoader classLoader,
java.lang.String[] imports) |
java.lang.String[] |
getAllImports() |
java.util.Map |
getClassesMap() |
java.util.Map |
getFieldsMap() |
java.util.Map |
getInterfacesMap() |
java.util.Map |
getMethodsMap() |
java.util.Map |
getMethodsMap(int methodsMappingMode) |
java.util.Set |
getNotOverloadedMethodsSet() |
void |
parse() |
void |
parseClass(boolean isInterface) |
void |
parseField(java.lang.String fieldName) |
java.lang.String |
parseFieldInitializingExpression() |
java.lang.String |
parseIdentifierWithDots(boolean lastWordCanBeAsterisk) |
void |
parseMethod(java.lang.String methodName) |
java.lang.String |
parseMethodArgDelim() |
java.lang.String |
parseMethodArgName() |
java.lang.String |
parseMethodArgType() |
java.lang.String |
parseMethodStartComments() |
java.lang.String |
parseMethodThrowsDescription(boolean parseNextBraceBlock) |
java.lang.String |
parseSquareBrackets() |
public static final int DEBUG_LEVEL
public java.lang.String javaFileName
public final transient ExtendedTokenizer et
public static final char NESTED_CLASS_SEPARATOR
public static final char MEMBER_SEPARATOR
public char activeLocalClassSeparator
public boolean fillMethodsBodies
public Parser.PackageSource currentPackage
public java.util.List memberSources
public static final int METHODS_MAPPING_NAME
public static final int METHODS_MAPPING_ONLY_NOT_OVERLOADED
public static final int METHODS_MAPPING_SIGNATURE
public static final int METHODS_MAPPING_PREVIOUS_SIGNATURE
public java.lang.String currentClassName
public java.lang.String parseMethodArgNameSquareBrackets
public Parser()
public Parser(char[] src, boolean decodeUnicodeEscapes)
public Parser(java.lang.String src, boolean decodeUnicodeEscapes)
public void parse() throws Parser.SyntaxException
Parser.SyntaxException
public java.util.Map getFieldsMap()
public java.util.Map getMethodsMap()
public java.util.Map getMethodsMap(int methodsMappingMode)
public java.util.Set getNotOverloadedMethodsSet()
public java.util.Map getClassesMap()
public java.util.Map getInterfacesMap()
public java.lang.String[] getAllImports()
public void expandMethodArgumentTypes(java.lang.ClassLoader classLoader, java.lang.String[] imports)
public void parseClass(boolean isInterface) throws Parser.SyntaxException
Parser.SyntaxException
public void parseField(java.lang.String fieldName) throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseFieldInitializingExpression() throws Parser.SyntaxException
Parser.SyntaxException
public void parseMethod(java.lang.String methodName) throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseMethodArgType() throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseMethodArgName() throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseMethodArgDelim() throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseMethodThrowsDescription(boolean parseNextBraceBlock) throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseMethodStartComments() throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseIdentifierWithDots(boolean lastWordCanBeAsterisk) throws Parser.SyntaxException
Parser.SyntaxException
public java.lang.String parseSquareBrackets() throws Parser.SyntaxException
Parser.SyntaxException