Exemple #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;
   }
 }
 // must be calculated
 protected final int getCurLexState() {
   return (Integer) Reflection.getAttrObj(this, "curLexState", true);
 }
 public final FastCharStream getInputStream() {
   if (this.inputStream == null) {
     this.inputStream = (FastCharStream) Reflection.getAttrObj(this, "input_stream", true);
   }
   return inputStream;
 }