Searched defs:constValue (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSctpStdSocketOption.java45 private int constValue; field in class:SctpStdSocketOption
52 public SctpStdSocketOption(String name, Class<T> type, int constValue) { argument
55 this.constValue = constValue;
73 int constValue() { method in class:SctpStdSocketOption
74 return constValue;
/openjdk7/langtools/test/tools/javac/tree/
H A DMakeLiteralTest.java68 void test(Object value, int tag, Type type, Object constValue) { argument
74 if (l.type.constValue().getClass() != constValue.getClass()
75 || !constValue.equals(l.type.constValue())) {
77 + l.type.constValue().getClass() + " " + l.type.constValue()
78 + ": expected:" + constValue.getClass() + " " + constValue);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DType.java94 public Object constValue() { method in class:Type
157 public Type constType(Object constValue) { argument
158 final Object value = constValue;
162 public Object constValue() {
223 Object cv = Assert.checkNonNull(constValue());
250 constValue() != null &&
251 ((Integer)constValue()).intValue() == 0;
259 constValue() != null &&
260 ((Integer)constValue()).intValue() != 0;
586 public Type constType(Object constValue) { argument
1322 constType(Object constValue) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DGen.java535 private void checkStringConstant(DiagnosticPosition pos, Object constValue) { argument
537 constValue == null ||
538 !(constValue instanceof String) ||
539 ((String)constValue).length() < Pool.MAX_STRING_LENGTH)
831 if (tree.type.constValue() != null) {
833 checkStringConstant(tree.pos(), tree.type.constValue());
834 result = items.makeImmediateItem(tree.type, tree.type.constValue());
1145 int val = ((Number)l.head.pat.type.constValue()).intValue();
1576 if (tree.type.constValue() == null) super.visitUnary(tree); }
1579 if (tree.type.constValue()
[all...]

Completed in 874 milliseconds