public class com.github.javaparser.ast.comments.CommentsCollection extends java.lang.Object
{
private final java.util.TreeSet comments;
public void <init>()
{
com.github.javaparser.ast.comments.CommentsCollection v;
java.util.Comparator v;
java.util.TreeSet v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.TreeSet;
v = <com.github.javaparser.ast.Node: java.util.Comparator NODE_BY_BEGIN_POSITION>;
specialinvoke v.<java.util.TreeSet: void <init>(java.util.Comparator)>(v);
v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments> = v;
return;
}
public void <init>(java.util.Collection)
{
java.util.Collection v;
com.github.javaparser.ast.comments.CommentsCollection v;
java.util.Comparator v;
java.util.TreeSet v, v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v := @parameter: java.util.Collection;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.TreeSet;
v = <com.github.javaparser.ast.Node: java.util.Comparator NODE_BY_BEGIN_POSITION>;
specialinvoke v.<java.util.TreeSet: void <init>(java.util.Comparator)>(v);
v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments> = v;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
virtualinvoke v.<java.util.TreeSet: boolean addAll(java.util.Collection)>(v);
return;
}
public java.util.Set getLineComments()
{
java.util.function.Predicate v;
java.util.function.Function v;
java.util.function.Supplier v;
java.util.TreeSet v;
java.util.stream.Stream v, v, v;
com.github.javaparser.ast.comments.CommentsCollection v;
java.lang.Object v;
java.util.stream.Collector v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = virtualinvoke v.<java.util.TreeSet: java.util.stream.Stream stream()>();
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getLineComments_0__775: java.util.function.Predicate bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream filter(java.util.function.Predicate)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getLineComments_1__776: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream map(java.util.function.Function)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getLineComments_2__777: java.util.function.Supplier bootstrap$()>();
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toCollection(java.util.function.Supplier)>(v);
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
return v;
}
public java.util.Set getBlockComments()
{
java.util.function.Predicate v;
java.util.function.Function v;
java.util.function.Supplier v;
java.util.TreeSet v;
java.util.stream.Stream v, v, v;
com.github.javaparser.ast.comments.CommentsCollection v;
java.lang.Object v;
java.util.stream.Collector v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = virtualinvoke v.<java.util.TreeSet: java.util.stream.Stream stream()>();
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getBlockComments_3__778: java.util.function.Predicate bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream filter(java.util.function.Predicate)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getBlockComments_4__779: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream map(java.util.function.Function)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getBlockComments_5__780: java.util.function.Supplier bootstrap$()>();
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toCollection(java.util.function.Supplier)>(v);
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
return v;
}
public java.util.Set getJavadocComments()
{
java.util.function.Predicate v;
java.util.function.Function v;
java.util.function.Supplier v;
java.util.TreeSet v;
java.util.stream.Stream v, v, v;
com.github.javaparser.ast.comments.CommentsCollection v;
java.lang.Object v;
java.util.stream.Collector v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = virtualinvoke v.<java.util.TreeSet: java.util.stream.Stream stream()>();
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getJavadocComments_6__781: java.util.function.Predicate bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream filter(java.util.function.Predicate)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getJavadocComments_7__782: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream map(java.util.function.Function)>(v);
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_getJavadocComments_8__783: java.util.function.Supplier bootstrap$()>();
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toCollection(java.util.function.Supplier)>(v);
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
return v;
}
public void addComment(com.github.javaparser.ast.comments.Comment)
{
com.github.javaparser.ast.comments.CommentsCollection v;
com.github.javaparser.ast.comments.Comment v;
java.util.TreeSet v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v := @parameter: com.github.javaparser.ast.comments.Comment;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
virtualinvoke v.<java.util.TreeSet: boolean add(java.lang.Object)>(v);
return;
}
public boolean contains(com.github.javaparser.ast.comments.Comment)
{
com.github.javaparser.Position v, v, v, v, v, v;
java.util.TreeSet v;
com.github.javaparser.ast.comments.CommentsCollection v;
int v, v, v, v, v, v;
boolean v, v, v, v;
java.util.Iterator v;
java.util.Optional v, v;
java.lang.Object v, v, v;
com.github.javaparser.ast.comments.Comment v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v := @parameter: com.github.javaparser.ast.comments.Comment;
v = virtualinvoke v.<com.github.javaparser.ast.comments.Comment: boolean hasRange()>();
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<com.github.javaparser.ast.comments.Comment: java.util.Optional getRange()>();
v = virtualinvoke v.<java.util.Optional: java.lang.Object get()>();
v = virtualinvoke v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet getComments()>();
v = virtualinvoke v.<java.util.TreeSet: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.github.javaparser.ast.comments.Comment: boolean hasRange()>();
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<com.github.javaparser.ast.comments.Comment: java.util.Optional getRange()>();
v = virtualinvoke v.<java.util.Optional: java.lang.Object get()>();
v = v.<com.github.javaparser.Range: com.github.javaparser.Position begin>;
v = v.<com.github.javaparser.Range: com.github.javaparser.Position begin>;
v = virtualinvoke v.<com.github.javaparser.Position: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = v.<com.github.javaparser.Range: com.github.javaparser.Position end>;
v = v.<com.github.javaparser.Position: int line>;
v = v.<com.github.javaparser.Range: com.github.javaparser.Position end>;
v = v.<com.github.javaparser.Position: int line>;
if v != v goto label;
v = v.<com.github.javaparser.Range: com.github.javaparser.Position end>;
v = v.<com.github.javaparser.Position: int column>;
v = v.<com.github.javaparser.Range: com.github.javaparser.Position end>;
v = v.<com.github.javaparser.Position: int column>;
v = v - v;
v = staticinvoke <java.lang.Math: int abs(int)>(v);
if v >= 2 goto label;
return 1;
label:
return 0;
}
public java.util.TreeSet getComments()
{
com.github.javaparser.ast.comments.CommentsCollection v;
java.util.TreeSet v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
return v;
}
public int size()
{
com.github.javaparser.ast.comments.CommentsCollection v;
int v;
java.util.TreeSet v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = virtualinvoke v.<java.util.TreeSet: int size()>();
return v;
}
public com.github.javaparser.ast.comments.CommentsCollection minus(com.github.javaparser.ast.comments.CommentsCollection)
{
java.util.function.Predicate v;
java.util.TreeSet v, v;
java.util.stream.Stream v, v;
com.github.javaparser.ast.comments.CommentsCollection v, v, v;
java.lang.Object v;
java.util.stream.Collector v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v := @parameter: com.github.javaparser.ast.comments.CommentsCollection;
v = new com.github.javaparser.ast.comments.CommentsCollection;
specialinvoke v.<com.github.javaparser.ast.comments.CommentsCollection: void <init>()>();
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
v = virtualinvoke v.<java.util.TreeSet: java.util.stream.Stream stream()>();
v = staticinvoke <com.github.javaparser.ast.comments.CommentsCollection$lambda_minus_9__784: java.util.function.Predicate bootstrap$(com.github.javaparser.ast.comments.CommentsCollection)>(v);
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream filter(java.util.function.Predicate)>(v);
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toList()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
virtualinvoke v.<java.util.TreeSet: boolean addAll(java.util.Collection)>(v);
return v;
}
public com.github.javaparser.ast.comments.CommentsCollection copy()
{
com.github.javaparser.ast.comments.CommentsCollection v, v;
java.util.TreeSet v;
v := @this: com.github.javaparser.ast.comments.CommentsCollection;
v = new com.github.javaparser.ast.comments.CommentsCollection;
v = v.<com.github.javaparser.ast.comments.CommentsCollection: java.util.TreeSet comments>;
specialinvoke v.<com.github.javaparser.ast.comments.CommentsCollection: void <init>(java.util.Collection)>(v);
return v;
}
}