예제 #1
0
 /**
  * Array-style access for annotation sets. Allows <code>someAnnotationSet["Token", "SpaceToken"]
  * </code>
  *
  * @see SimpleAnnotationSet#get(Set)
  */
 public static AnnotationSet getAt(SimpleAnnotationSet self, List<String> types) {
   return self.get(new HashSet<String>(types));
 }
예제 #2
0
 /**
  * Array-style access for annotation sets. Allows things like <code>someAnnotationSet["Token"]
  * </code>
  *
  * @see SimpleAnnotationSet#get(String)
  */
 public static AnnotationSet getAt(SimpleAnnotationSet self, String type) {
   return self.get(type);
 }