1   package com.stateofflow.eclipse.metrics.type;
2   
3   public abstract class Type {
4       public abstract String getName();
5   
6       protected String getNameWithAnonymousChild(final AnonymousClassDeclarationAdapter child) {
7           return getNameWithChildNameAppended(child);
8       }
9   
10      protected String getNameWithChildNameAppended(final NonNullType child) {
11          return getName() + child.getPrefix() + child.getNamePart();
12      }
13  }