diff --git a/lib/src/element_type.dart b/lib/src/element_type.dart index c319c29bf4..dbe38e6036 100644 --- a/lib/src/element_type.dart +++ b/lib/src/element_type.dart @@ -57,8 +57,6 @@ abstract class ElementType return DefinedElementType._from(type, modelElement, library, packageGraph); } - bool get canHaveParameters => false; - bool get isTypedef => false; String get linkedName; diff --git a/lib/src/generator/templates.runtime_renderers.dart b/lib/src/generator/templates.runtime_renderers.dart index 92e13190f9..e5b769af8b 100644 --- a/lib/src/generator/templates.runtime_renderers.dart +++ b/lib/src/generator/templates.runtime_renderers.dart @@ -4399,13 +4399,6 @@ class _Renderer_ElementType extends RendererBase { ..._Renderer_CommentReferable.propertyMap(), ..._Renderer_Nameable.propertyMap(), ..._Renderer_ModelBuilder.propertyMap(), - 'canHaveParameters': Property( - getValue: (CT_ c) => c.canHaveParameters, - renderVariable: (CT_ c, Property self, - List remainingNames) => - self.renderSimpleVariable(c, remainingNames, 'bool'), - getBool: (CT_ c) => c.canHaveParameters == true, - ), 'instantiatedType': Property( getValue: (CT_ c) => c.instantiatedType, renderVariable: (CT_ c, Property self,