public void postRead(ResolvedType enclosingType) {
}
+ public boolean isEllipsis() {
+ return false;
+ }
+
public boolean isStar() {
return false;
}
return includeSubtypes;
}
+ /**
+ * For quickly recognizing the pattern '!void'
+ */
+ public boolean isBangVoid() {
+ return false;
+ }
+
+ /**
+ * for quickly recognizing the pattern 'void'
+ */
+ public boolean isVoid() {
+ return false;
+ }
+
}
class EllipsisTypePattern extends TypePattern {
s.writeByte(ELLIPSIS_KEY);
}
+ @Override
+ public boolean isEllipsis() {
+ return true;
+ }
+
@Override
public String toString() {
return "..";