1 16 package com.google.gwt.core.ext.typeinfo; 17 18 21 public abstract class JType { 22 public abstract String getJNISignature(); 23 24 public JType getLeafType() { 25 return this; 26 } 27 28 public String getParameterizedQualifiedSourceName() { 29 return getQualifiedSourceName(); 30 } 31 32 public abstract String getQualifiedSourceName(); 33 34 public abstract String getSimpleSourceName(); 35 36 public abstract JArrayType isArray(); 37 38 public abstract JClassType isClass(); 39 40 public JClassType isClassOrInterface() { 41 JClassType type = isClass(); 42 if (type != null) { 43 return type; 44 } 45 return isInterface(); 46 } 47 48 public abstract JClassType isInterface(); 49 50 public abstract JParameterizedType isParameterized(); 51 52 public abstract JPrimitiveType isPrimitive(); 53 } 54 | Popular Tags |