Searched refs:isType (Results 1 - 25 of 47) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/util/regex/
H A DASCII.java202 static boolean isType(int ch, int type) { method in class:ASCII
211 return isType(ch, ALPHA);
219 return isType(ch, ALNUM);
223 return isType(ch, GRAPH);
231 return isType(ch, PUNCT);
235 return isType(ch, SPACE);
239 return isType(ch, HEX);
247 return isType(ch, CNTRL);
259 return isType(ch, WORD);
/openjdk7/jdk/test/java/util/regex/
H A DPOSIX_ASCII.java192 static boolean isType(int ch, int type) { method in class:POSIX_ASCII
201 return isType(ch, ALPHA);
209 return isType(ch, ALNUM);
213 return isType(ch, GRAPH);
221 return isType(ch, PUNCT);
225 return isType(ch, SPACE);
229 return isType(ch, HEX);
233 return isType(ch, CNTRL);
245 return isType(ch, WORD);
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DAddExpression.java49 if ((left.type == Type.tString) && !right.type.isType(TC_VOID)) {
52 } else if ((right.type == Type.tString) && !left.type.isType(TC_VOID)) {
167 if (!type.isType(TC_CLASS)) {
177 } else if (right.type.isType(TC_NULL)) {
179 } else if (left.type.isType(TC_NULL)) {
189 return (type.isType(TC_CLASS) ? 12 : 1)
210 if (type.isType(TC_CLASS)) {
219 if (type.isType(TC_CLASS)) {
H A DCastExpression.java55 if (type.isType(TC_ERROR) || right.type.isType(TC_ERROR)) {
110 if (left.type.isType(TC_ARRAY) ||
126 if (type.isType(TC_ERROR)) {
H A DNode.java68 if (e.type.isType(TC_ERROR) || t.isType(TC_ERROR)) {
H A DInstanceOfExpression.java55 if (right.type.isType(TC_ERROR) || left.type.isType(TC_ERROR)) {
94 if (right.type.isType(TC_ARRAY) ||
110 if (right.type.isType(TC_CLASS)) {
H A DIntegerExpression.java52 if (this.type.isType(TC_CHAR)) {
H A DLengthExpression.java51 if (!right.type.isType(TC_ARRAY)) {
H A DThrowStatement.java58 if (expr.type.isType(TC_CLASS)) {
70 } else if (!expr.type.isType(TC_ERROR)) {
H A DBitNotExpression.java82 if (type.isType(TC_INT)) {
H A DNewInstanceExpression.java111 if (typeName == null || !outerArg.type.isType(TC_CLASS)) {
112 if (!outerArg.type.isType(TC_ERROR)) {
137 if (right.type.isType(TC_CLASS))
146 boolean hasErrors = t.isType(TC_ERROR);
148 if (!t.isType(TC_CLASS)) {
183 hasErrors = hasErrors || argTypes[i].isType(TC_ERROR);
394 if (outerArg != null && !outerArg.type.isType(TC_VOID)) {
428 if (outerArg.type.isType(TC_VOID))
451 if (outerArg != null && outerArg.type.isType(TC_VOID)) {
H A DArrayExpression.java55 if (!t.isType(TC_ARRAY)) {
56 if (!t.isType(TC_ERROR)) {
H A DAssignAddExpression.java50 return type.isType(TC_CLASS) ? 25 : super.costInline(thresh, env, ctx);
57 if (itype.isType(TC_CLASS)) {
H A DCatchStatement.java80 if (type.isType(TC_ERROR)) {
82 } else if (!type.isType(TC_CLASS)) {
H A DInlineMethodExpression.java60 if (expr != null && type.isType(TC_VOID)) {
H A DIncDecExpression.java57 if (!right.type.isType(TC_ERROR)) {
90 if ((right.op == IDENT) && type.isType(TC_INT) &&
153 if ((right.op == IDENT) && type.isType(TC_INT) &&
H A DTryStatement.java118 if (!type.isType(TC_CLASS)) {
162 if (type.isType(TC_ERROR))
277 if (t.isType(TC_CLASS)) {
H A DUnaryExpression.java77 if (((tm & TM_ERROR) == 0) && type.isType(TC_ERROR)) {
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DImplementationType.java180 if (theInt.isType(TYPE_REMOTE) ||
181 theInt.isType(TYPE_JAVA_RMI_REMOTE)) {
215 if (type.isType(TYPE_REMOTE)) {
H A DSpecialInterfaceType.java136 if (type.isType(TC_CLASS)) {
162 if (type.isType(TC_CLASS)) {
H A DStubGenerator.java287 if (interfaces[j].isType(TYPE_REMOTE) &&
288 !interfaces[j].isType(TYPE_ABSTRACT)) {
489 type.isType(TYPE_CORBA_OBJECT)) {
500 if (type.isType(TYPE_REMOTE) ||
501 type.isType(TYPE_JAVA_RMI_REMOTE)) {
795 boolean result = theType.isType(TYPE_REMOTE) && !theType.isType(TYPE_ABSTRACT);
884 if (!returnType.isType(TYPE_VOID)) {
894 if (returnType.isType(TYPE_VOID)) {
910 if (!returnType.isType(TYPE_VOI
[all...]
H A DSpecialClassType.java164 if (type.isType(TC_CLASS)) {
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DType.java134 public final boolean isType(int tc) { method in class:Type
148 if (!isType(TC_ARRAY)) {
153 while (type.isType(TC_ARRAY))
156 return type.isType(TC_VOID);
H A DEnvironment.java174 return !t.isType(TC_CLASS) || classExists(t.getClassName());
613 if (!mType.isType(TC_METHOD))
678 if (!to.isType(TC_ARRAY)) {
686 } while (from.isType(TC_ARRAY) && to.isType(TC_ARRAY));
719 if (from.isType(TC_CLASS) && to.isType(TC_CLASS)) {
744 if (to.isType(TC_ARRAY)) {
745 if (from.isType(TC_ARRAY)) {
/openjdk7/jdk/src/share/classes/sun/tools/javac/
H A DBatchParser.java265 if (t.isType(TC_METHOD)) {
276 Identifier retname = !rt.isType(TC_CLASS) ? idStar /*no match*/
298 if (args == null && t.isType(TC_METHOD)) {
302 if (exp == null && t.isType(TC_METHOD)) {

Completed in 55 milliseconds

12