// Determine if the test infrastructure needs installing
final List<AnnotationMetadataBuilder> annotations = new ArrayList<AnnotationMetadataBuilder>();
final List<AnnotationAttributeValue<?>> config = new ArrayList<AnnotationAttributeValue<?>>();
config.add(new ClassAttributeValue(new JavaSymbolName("value"), JUNIT_4));
annotations.add(new AnnotationMetadataBuilder(RUN_WITH, config));
final List<MethodMetadataBuilder> methods = new ArrayList<MethodMetadataBuilder>();
final List<AnnotationMetadataBuilder> methodAnnotations = new ArrayList<AnnotationMetadataBuilder>();
methodAnnotations.add(new AnnotationMetadataBuilder(TEST));
// Get the class so we can hopefully make a demo method that will be
// usable
final ClassOrInterfaceTypeDetails governorTypeDetails = typeLocationService
.getTypeDetails(javaType);