protected EObject getAccessibleType ( IEObjectDescription description , String fragment , ResourceSet resourceSet ) throws UnknownNestedTypeException { EObject typeProxy = description . getEObjectOrProxy ( ) ; if ( typeProxy . eIsProxy ( ) ) { typeProxy = EcoreUtil . resolve ( typeProxy , resourceSet ) ; } if ( ! typeProxy . eIsProxy ( ) && typeProxy instanceof JvmType ) { if ( fragment != null ) { EObject result = resolveJavaObject ( ( JvmType ) typeProxy , fragment ) ; if ( result != null ) return result ; } else return typeProxy ; } return null ; }
Read and resolve the EObject from the given description and navigate to its children according to the given fragment .