Java 类com.intellij.lang.ant.config.impl.BuildTask 实例源码

项目:intellij-ce-playground    文件:TreeView.java   
private
@Nullable
OpenFileDescriptor getDescriptorForTaskNode(MessageNode node) {
  final String[] text = node.getText();
  if (text == null || text.length == 0) return null;
  final String taskName = text[0];
  final TreeNode parentNode = node.getParent();
  if (!(parentNode instanceof MessageNode)) return null;
  final MessageNode messageNode = (MessageNode)parentNode;
  if (messageNode.getType() != AntBuildMessageView.MessageType.TARGET) return null;
  final BuildTask task = ((AntBuildModelBase)myBuildFile.getModel()).findTask(messageNode.getText()[0], taskName);
  return (task == null) ? null : task.getOpenFileDescriptor();
}
项目:tools-idea    文件:TreeView.java   
private
@Nullable
OpenFileDescriptor getDescriptorForTaskNode(MessageNode node) {
  final String[] text = node.getText();
  if (text == null || text.length == 0) return null;
  final String taskName = text[0];
  final TreeNode parentNode = node.getParent();
  if (!(parentNode instanceof MessageNode)) return null;
  final MessageNode messageNode = (MessageNode)parentNode;
  if (messageNode.getType() != AntBuildMessageView.MessageType.TARGET) return null;
  final BuildTask task = ((AntBuildModelBase)myBuildFile.getModel()).findTask(messageNode.getText()[0], taskName);
  return (task == null) ? null : task.getOpenFileDescriptor();
}
项目:consulo-apache-ant    文件:TreeView.java   
private
@Nullable
OpenFileDescriptor getDescriptorForTaskNode(MessageNode node) {
  final String[] text = node.getText();
  if (text == null || text.length == 0) return null;
  final String taskName = text[0];
  final TreeNode parentNode = node.getParent();
  if (!(parentNode instanceof MessageNode)) return null;
  final MessageNode messageNode = (MessageNode)parentNode;
  if (messageNode.getType() != AntBuildMessageView.MessageType.TARGET) return null;
  final BuildTask task = ((AntBuildModelBase)myBuildFile.getModel()).findTask(messageNode.getText()[0], taskName);
  return (task == null) ? null : task.getOpenFileDescriptor();
}
项目:intellij-ce-playground    文件:AntBuildModelBase.java   
@Nullable
BuildTask findTask(final String targetName, final String taskName);
项目:intellij-ce-playground    文件:AntBuildTargetBase.java   
@Nullable
BuildTask findTask(final String taskName);
项目:tools-idea    文件:AntBuildModelBase.java   
@Nullable
BuildTask findTask(final String targetName, final String taskName);
项目:tools-idea    文件:AntBuildTargetBase.java   
@Nullable
BuildTask findTask(final String taskName);
项目:consulo-apache-ant    文件:AntBuildModelBase.java   
@Nullable
BuildTask findTask(final String targetName, final String taskName);
项目:consulo-apache-ant    文件:AntBuildTargetBase.java   
@Nullable
BuildTask findTask(final String taskName);