|Re: [jdt-dev] How get the type of the field from IField instance|
My guess would be org.eclipse.jdt.core.IField.getTypeSignature()
is like org.eclipse.jdt.core.IMethod.getReturnType(), both of
which yeild the type signature according to their Javadoc.
I'm working on an autocompletion plugin for method reference proposals. In the implementation i would like to get the type of the field represented by a IField instance. For IMethod there is a getter which returns the Method return type, But for IField i couldn't find such a getter which returns the type of field. Please let me know if there is a way to get an IType instance for the field type.
_______________________________________________ jdt-dev mailing list jdt-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev
Back to the top