本文整理了Java中org.eclipse.jdt.core.Flags.isNative()
方法的一些代码示例,展示了Flags.isNative()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Flags.isNative()
方法的具体详情如下:
包路径:org.eclipse.jdt.core.Flags
类名称:Flags
方法名:isNative
[英]Returns whether the given integer includes the native
modifier.
[中]返回给定整数是否包含native
修饰符。
代码示例来源:origin: eclipse/eclipse.jdt.ls
public static boolean isNative(IMember member) throws JavaModelException{
return Flags.isNative(member.getFlags());
}
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
public static boolean isNative(IMember member) throws JavaModelException{
return Flags.isNative(member.getFlags());
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core.manipulation
public static boolean isNative(IMember member) throws JavaModelException{
return Flags.isNative(member.getFlags());
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
public static boolean isNative(IMember member) throws JavaModelException{
return Flags.isNative(member.getFlags());
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.api.tools.ui
if (Flags.isNative(newModifiers)) {
if (buffer.length() > 0) {
buffer.append(separator);
代码示例来源:origin: org.eclipse.pde.api.tools/ui
if(Flags.isNative(newModifiers)) {
if(buffer.length() > 0) {
buffer.append(separator);
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
if (isSynchronized(flags))
sb.append("synchronized "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isStrictfp(flags))
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
if (isSynchronized(flags))
sb.append("synchronized "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isStrictfp(flags))
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
fBuffer.append(Signature.toString(exceptionTypes[index]));
if (Flags.isAbstract(flags) || Flags.isNative(flags))
fBuffer.append(";"); //$NON-NLS-1$
else {
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
if (isFinal(flags))
sb.append("final "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isSynchronized(flags))
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
if (isSynchronized(flags))
sb.append("synchronized "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isStrictfp(flags))
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
if (isSynchronized(flags))
sb.append("synchronized "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isStrictfp(flags))
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
if (isSynchronized(flags))
sb.append("synchronized "); //$NON-NLS-1$
if (isNative(flags))
sb.append("native "); //$NON-NLS-1$
if (isStrictfp(flags))
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
fBuffer.append(Signature.toString(exceptionTypes[index]));
if (Flags.isAbstract(flags) || Flags.isNative(flags))
fBuffer.append(";"); //$NON-NLS-1$
else {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
appendAnnotationValue(pair.getValue(), pair.getValueKind());
if (Flags.isAbstract(flags) || Flags.isNative(flags))
fBuffer.append(";"); //$NON-NLS-1$
else {
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_single_implementation, JavaStatusContext.create(fMethod)));
monitor.worked(1);
if (Flags.isNative(flags))
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_no_native_methods, JavaStatusContext.create(fMethod)));
monitor.worked(1);
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_single_implementation, JavaStatusContext.create(fMethod)));
monitor.worked(1);
if (Flags.isNative(flags))
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_no_native_methods, JavaStatusContext.create(fMethod)));
monitor.worked(1);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_single_implementation, JavaStatusContext.create(fMethod)));
monitor.worked(1);
if (Flags.isNative(flags))
status.merge(RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.MoveInstanceMethodProcessor_no_native_methods, JavaStatusContext.create(fMethod)));
monitor.worked(1);
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
if (Flags.isSynchronized(modifiers)) // collides with 'super' flag
flags|= JavaElementImageDescriptor.SYNCHRONIZED;
if (Flags.isNative(modifiers))
flags|= JavaElementImageDescriptor.NATIVE;
if (Flags.isDefaultMethod(modifiers))
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
if (Flags.isSynchronized(modifiers)) // collides with 'super' flag
flags|= JavaElementImageDescriptor.SYNCHRONIZED;
if (Flags.isNative(modifiers))
flags|= JavaElementImageDescriptor.NATIVE;
if (Flags.isDefaultMethod(modifiers))
内容来源于网络,如有侵权,请联系作者删除!