TypeInfoFactory factory = getTypeInfoFactory();
ClassInfo simpleInterface = (ClassInfo) factory.getTypeInfo(SimpleInterface.class);
TypeInfo boolType = PrimitiveInfo.BOOLEAN;
ParameterInfo boolParam = new ParameterInfoImpl(null, "arg0", boolType);
ParameterInfo[] boolParameters = new ParameterInfo[] { boolParam };
TypeInfo booleanType = factory.getTypeInfo(Boolean.class);
TypeInfo intType = PrimitiveInfo.INT;
ParameterInfo intParam = new ParameterInfoImpl(null, "arg0", intType);
ParameterInfo[] intParameters = new ParameterInfo[] { intParam };
TypeInfo objectType = factory.getTypeInfo(Object.class);
ParameterInfo objectParam = new ParameterInfoImpl(null, "arg0", objectType);
ParameterInfo[] objectParameters = new ParameterInfo[] { objectParam };
TypeInfo stringType = factory.getTypeInfo(String.class);
ParameterInfo stringParam = new ParameterInfoImpl(null, "arg0", stringType);
ParameterInfo[] stringParameters = new ParameterInfo[] { stringParam };
TypeInfo urlType = factory.getTypeInfo(URL.class);
ParameterInfo urlParam = new ParameterInfoImpl(null, "arg1", urlType);
ParameterInfo[] twoParameters = new ParameterInfo[] { stringParam, urlParam };
TypeInfo voidType = PrimitiveInfo.VOID;
HashSet<MethodInfo> result = new HashSet<MethodInfo>();