{
String coreClassWithVarArgs = getClass().getName();
JITDataModel model = new JITDataModel();
MetaClass metaClass = null;
try
{
metaClass = model.buildAndGetMetaClass(ClassUtil.loadClassWithoutInitialising(coreClassWithVarArgs));
}
catch (ClassNotFoundException cnfe)
{
cnfe.printStackTrace();
fail();
}
String bytecodeSig = "public void doSomethingWithVarArgs(java.lang.String...)";
MemberSignatureParts msp = MemberSignatureParts.fromBytecodeSignature("org.adoptopenjdk.jitwatch.test.TestParseUtil", bytecodeSig);
IMetaMember foundVarArgsMethod = metaClass.getMemberFromSignature(msp);
assertNotNull(foundVarArgsMethod);
}