public Rule nonArrayType() { return FirstOf(primitiveType(), referenceType()); }
public Rule nonArrayType() { return FirstOf(primitiveType(), referenceType()); }
public Rule nonArrayType() { return FirstOf(primitiveType(), referenceType()); }
@SuppressSubnodes Rule rawPrimitiveType() { return Sequence( FirstOf("boolean", "int", "long", "double", "float", "short", "char", "byte", "void"), group.basics.testLexBreak()); }
@SuppressSubnodes Rule rawPrimitiveType() { return Sequence( FirstOf("boolean", "int", "long", "double", "float", "short", "char", "byte", "void"), group.basics.testLexBreak()); }
@SuppressSubnodes Rule rawPrimitiveType() { return Sequence( FirstOf("boolean", "int", "long", "double", "float", "short", "char", "byte", "void"), group.basics.testLexBreak()); }
public Rule typeArgument() { return FirstOf( type(), Sequence( Ch('?').label("qmark"), group.basics.optWS(), FirstOf(String("extends"), String("super")).label("boundType"), group.basics.testLexBreak(), group.basics.optWS(), type(), set(actions.createWildcardedType(node("qmark"), node("boundType"), text("boundType"), value("type")))), Sequence( Ch('?').label("qmark"), set(actions.createUnboundedWildcardType(node("qmark"))), group.basics.optWS())); } }
public Rule typeArgument() { return FirstOf( type(), Sequence( Ch('?').label("qmark"), group.basics.optWS(), FirstOf(String("extends"), String("super")).label("boundType"), group.basics.testLexBreak(), group.basics.optWS(), type(), set(actions.createWildcardedType(node("qmark"), node("boundType"), text("boundType"), value("type")))), Sequence( Ch('?').label("qmark"), set(actions.createUnboundedWildcardType(node("qmark"))), group.basics.optWS())); } }
public Rule typeArgument() { return FirstOf( type(), Sequence( Ch('?').label("qmark"), group.basics.optWS(), FirstOf(String("extends"), String("super")).label("boundType"), group.basics.testLexBreak(), group.basics.optWS(), type(), set(actions.createWildcardedType(node("qmark"), node("boundType"), text("boundType"), value("type")))), Sequence( Ch('?').label("qmark"), set(actions.createUnboundedWildcardType(node("qmark"))), group.basics.optWS())); } }