Class SJavaParser
- java.lang.Object
- 
- jadex.rules.parser.conditions.javagrammar.SJavaParser
 
- 
 public class SJavaParser extends java.lang.ObjectStatic helper methods for Java condition parser.
- 
- 
Constructor SummaryConstructors Constructor Description SJavaParser()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static booleanlookaheadCast(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type cast.protected static booleanlookaheadExistential(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for an existential declaration (type var).protected static booleanlookaheadStaticField(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a static field.protected static booleanlookaheadStaticMethod(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a static method.protected static intlookaheadType(int index, org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type.protected static intlookaheadType(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type.
 
- 
- 
- 
Method Detail- 
lookaheadTypeprotected static int lookaheadType(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type.- Parameters:
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- The token index of the last token (identifier) or -1 if no type could be matched.
 
 - 
lookaheadTypeprotected static int lookaheadType(int index, org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type.- Parameters:
- index- The start index (starts with 1).
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- The token index of the last token (identifier) or -1 if no type could be matched.
 
 - 
lookaheadExistentialprotected static boolean lookaheadExistential(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for an existential declaration (type var).- Parameters:
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- True for an existential declaration.
 
 - 
lookaheadStaticFieldprotected static boolean lookaheadStaticField(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a static field.- Parameters:
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- True for a static field.
 
 - 
lookaheadStaticMethodprotected static boolean lookaheadStaticMethod(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a static method.- Parameters:
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- True for a static field.
 
 - 
lookaheadCastprotected static boolean lookaheadCast(org.antlr.runtime.TokenStream input, OAVTypeModel tmodel, java.lang.String[] imports)Lookahead for a type cast.- Parameters:
- input- The token stream.
- tmodel- The OAV type model.
- Returns:
- True for a type cast.
 
 
- 
 
-