List of usage examples for com.google.gwt.dev.javac.typemodel JRawType getBaseType
JGenericType getBaseType();
From source file:com.guit.rebind.binder.GuitBinderGenerator.java
License:Apache License
private Object getModificationTime(JClassType type) { if (type instanceof JRealClassType) { JRealClassType sourceRealType = (JRealClassType) type; return sourceRealType.getLastModifiedTime(); } else if (type instanceof JRawType) { JRawType r = (JRawType) type; return r.getBaseType().getLastModifiedTime(); } else {/*from w w w .j av a 2 s . co m*/ throw new RuntimeException(type.getQualifiedSourceName() + " " + type.getClass().getCanonicalName()); } }