field = resolveField( javaClass, 0, parts.length -1 );
fieldIndex = 0;
}
if( field == null ) {
JavaClassParent classParent = context.getParentClass();
//assume context is a JavaClass itself
if(classParent == null) {
classParent = (JavaClass) context;
}
for( int i = 0; i < parts.length - 1; ++i ) {
String className = getNamePrefix( i );
String typeName = classParent.resolveType( className );
if( typeName != null ) {
Type type = Type.createUnresolved( typeName, 0, classParent );
JavaClass javaClass = type.getJavaClass();