Java 类com.intellij.psi.xml.XmlContentParticle 实例源码

项目:intellij-ce-playground    文件:XmlElementsGroupImpl.java   
@NotNull
@Override
protected List<XmlElementsGroup> compute() {
  return ContainerUtil.map(myParticle.getSubParticles(), new Function<XmlContentParticle, XmlElementsGroup>() {
    @Override
    public XmlElementsGroup fun(XmlContentParticle xmlContentParticle) {
      return new  XmlElementsGroupImpl(xmlContentParticle, XmlElementsGroupImpl.this);
    }
  });
}
项目:tools-idea    文件:XmlElementsGroupImpl.java   
@NotNull
@Override
protected List<XmlElementsGroup> compute() {
  return ContainerUtil.map(myParticle.getSubParticles(), new Function<XmlContentParticle, XmlElementsGroup>() {
    @Override
    public XmlElementsGroup fun(XmlContentParticle xmlContentParticle) {
      return new  XmlElementsGroupImpl(xmlContentParticle, XmlElementsGroupImpl.this);
    }
  });
}
项目:consulo-xml    文件:XmlElementsGroupImpl.java   
@NotNull
@Override
protected List<XmlElementsGroup> compute() {
  return ContainerUtil.map(myParticle.getSubParticles(), new Function<XmlContentParticle, XmlElementsGroup>() {
    @Override
    public XmlElementsGroup fun(XmlContentParticle xmlContentParticle) {
      return new  XmlElementsGroupImpl(xmlContentParticle, XmlElementsGroupImpl.this);
    }
  });
}
项目:intellij-ce-playground    文件:XmlElementsGroupImpl.java   
public XmlElementsGroupImpl(@NotNull XmlContentParticle particle, XmlElementsGroup parent) {
  myParticle = particle;
  myParent = parent;
}
项目:intellij-ce-playground    文件:XmlElementContentGroupImpl.java   
@Override
public XmlContentParticle[] getSubParticles() {
  return myParticles.getValue();
}
项目:intellij-ce-playground    文件:XmlContentParticleImpl.java   
@Override
public XmlContentParticle[] getSubParticles() {
  return new XmlContentParticle[0];
}
项目:tools-idea    文件:XmlElementsGroupImpl.java   
public XmlElementsGroupImpl(@NotNull XmlContentParticle particle, XmlElementsGroup parent) {
  myParticle = particle;
  myParent = parent;
}
项目:tools-idea    文件:XmlElementContentGroupImpl.java   
@Override
public XmlContentParticle[] getSubParticles() {
  return myParticles.getValue();
}
项目:tools-idea    文件:XmlContentParticleImpl.java   
@Override
public XmlContentParticle[] getSubParticles() {
  return new XmlContentParticle[0];
}
项目:consulo-xml    文件:XmlElementsGroupImpl.java   
public XmlElementsGroupImpl(@NotNull XmlContentParticle particle, XmlElementsGroup parent) {
  myParticle = particle;
  myParent = parent;
}
项目:consulo-xml    文件:XmlElementContentGroupImpl.java   
@Override
public XmlContentParticle[] getSubParticles() {
  return myParticles.getValue();
}
项目:consulo-xml    文件:XmlContentParticleImpl.java   
@Override
public XmlContentParticle[] getSubParticles()
{
    return new XmlContentParticle[0];
}