Add is*() functions for more types.

Test: compiles
Change-Id: Ibeba6c814ac17192481935a067b7c835c4008dc7
diff --git a/Type.cpp b/Type.cpp
index e3825db..c5e55a9 100644
--- a/Type.cpp
+++ b/Type.cpp
@@ -46,10 +46,26 @@
     return false;
 }
 
+bool Type::isScalar() const {
+    return false;
+}
+
+bool Type::isString() const {
+    return false;
+}
+
 bool Type::isEnum() const {
     return false;
 }
 
+bool Type::isBitField() const {
+    return false;
+}
+
+bool Type::isHandle() const {
+    return false;
+}
+
 bool Type::isTypeDef() const {
     return false;
 }
@@ -74,6 +90,10 @@
     return false;
 }
 
+bool Type::isTemplatedType() const {
+    return false;
+}
+
 bool Type::isPointer() const {
     return false;
 }
@@ -442,5 +462,13 @@
     mElementType = elementType;
 }
 
+Type *TemplatedType::getElementType() const {
+    return mElementType;
+}
+
+bool TemplatedType::isTemplatedType() const {
+    return true;
+}
+
 }  // namespace android