Exemplo n.º 1
0
 static {
   try {
     Method m = Reflection.findMethod(CompletionProposal.class, "getAdditionalFlags");
     if (m == null) {
       HAS_ADDITIONAL_FLAGS = false;
     }
   } catch (Throwable e) {
     HAS_ADDITIONAL_FLAGS = false;
   }
 }
Exemplo n.º 2
0
 // must be calculated
 protected final int getCurLexState() {
   return (Integer) Reflection.getAttrObj(this, "curLexState", true);
 }
Exemplo n.º 3
0
 public final FastCharStream getInputStream() {
   if (this.inputStream == null) {
     this.inputStream = (FastCharStream) Reflection.getAttrObj(this, "input_stream", true);
   }
   return inputStream;
 }