コード例 #1
0
ファイル: JavaElementToken.java プロジェクト: fabioz/Pydev
 static {
   try {
     Method m = Reflection.findMethod(CompletionProposal.class, "getAdditionalFlags");
     if (m == null) {
       HAS_ADDITIONAL_FLAGS = false;
     }
   } catch (Throwable e) {
     HAS_ADDITIONAL_FLAGS = false;
   }
 }
コード例 #2
0
 // must be calculated
 protected final int getCurLexState() {
   return (Integer) Reflection.getAttrObj(this, "curLexState", true);
 }
コード例 #3
0
 public final FastCharStream getInputStream() {
   if (this.inputStream == null) {
     this.inputStream = (FastCharStream) Reflection.getAttrObj(this, "input_stream", true);
   }
   return inputStream;
 }