if (javaProperties != null) { if (javaProperties.isFinal()) { flags |= JavaOverlayDescriptor.FINAL;
try { if (javaProperties != null) { if (javaProperties.isFinal()) { flags |= JavaOverlayDescriptor.FINAL; } if (javaProperties.isStatic()) { flags |= JavaOverlayDescriptor.STATIC; } return new JavaOverlayDescriptor(base, flags);
	public IOverlayDescriptor createDescriptor(String base, Object item) {		if (item instanceof IAdaptable) {			int flags= 0;			IAdaptable element= (IAdaptable)item;			IJavaModifiers javaProperties= (IJavaModifiers)element.getAdapter(IJavaModifiers.class);			if (javaProperties != null) {				if (javaProperties.isFinal()) {					flags |= JavaOverlayDescriptor.FINAL;				}				if (javaProperties.isStatic()) {					flags |= JavaOverlayDescriptor.STATIC;				}				return new JavaOverlayDescriptor(base, flags);			}		}		return new JavaOverlayDescriptor(base, 0);	}