Skip to content

Commit

Permalink
Update snapshots after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed May 20, 2024
1 parent 5ec4b2d commit 998d987
Show file tree
Hide file tree
Showing 22 changed files with 1,013 additions and 983 deletions.
90 changes: 45 additions & 45 deletions tests/snapshots/src/main/generated/BaseByteRenderer.scala

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions tests/snapshots/src/main/generated/BaseCharRenderer.scala

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions tests/snapshots/src/main/generated/ByteParser.scala

Large diffs are not rendered by default.

510 changes: 255 additions & 255 deletions tests/snapshots/src/main/generated/CharParser.scala

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ interface BaseEpoxyTouchCallback<T extends EpoxyModel> {
// display_name BaseEpoxyTouchCallback
// signature_documentation java interface BaseEpoxyTouchCallback<T extends EpoxyModel>
// kind Interface
// relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#
// relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#
// ^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#[T]
// display_name T
// signature_documentation java T extends EpoxyModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) {
// display_name RequestedModelBuildType
// signature_documentation java @Retention(RetentionPolicy.SOURCE)\n@IntDef({RequestedModelBuildType.NONE, RequestedModelBuildType.NEXT_FRAME, RequestedModelBuildType.DELAYED})\nprivate @interface RequestedModelBuildType
// kind Interface
// relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#
// ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#NONE.
RequestedModelBuildType.NEXT_FRAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class UpdateOp {
// display_name Type
// signature_documentation java @IntDef({ADD, REMOVE, UPDATE, MOVE})\n@Retention(RetentionPolicy.SOURCE)\n@interface Type
// kind Interface
// relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
}

static final int ADD = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class VisibilityState {
// display_name Visibility
// signature_documentation java @Retention(RetentionPolicy.SOURCE)\n@IntDef({VISIBLE, INVISIBLE, FOCUSED_VISIBLE, UNFOCUSED_VISIBLE, FULL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_INVISIBLE})\npublic @interface Visibility
// kind Interface
// relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
// display_name Annotations
// signature_documentation java @Documented\n@Retention(RetentionPolicy.RUNTIME)\n@Target({CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})\npublic @interface Annotations
// kind Interface
// relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#

String value() default "";
//^^^^^^ reference semanticdb maven jdk 11 java/lang/String#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

public interface AnnotationsOnParameterizedTypes {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypes#
// documentation ```java\npublic interface AnnotationsOnParameterizedTypes\n```
// display_name AnnotationsOnParameterizedTypes
// signature_documentation java public interface AnnotationsOnParameterizedTypes
// kind Interface

public static AnnotationsOnParameterizedTypes getInstance() {
return new AnnotationsOnParameterizedTypesImpl();
Expand All @@ -40,47 +42,66 @@ public static AnnotationsOnParameterizedTypes getInstance() {

class AnnotationsOnParameterizedTypesImpl implements AnnotationsOnParameterizedTypes {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#
// documentation ```java\nclass AnnotationsOnParameterizedTypesImpl\n```
// display_name AnnotationsOnParameterizedTypesImpl
// signature_documentation java class AnnotationsOnParameterizedTypesImpl
// kind Class
// relationship is_implementation semanticdb maven . . minimized/AnnotationsOnParameterizedTypes#
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#`<init>`().
// documentation ```java\nAnnotationsOnParameterizedTypesImpl()\n```
// display_name <init>
// signature_documentation java AnnotationsOnParameterizedTypesImpl()
// kind Constructor
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypes#
private ConcurrentMap<Class<?>, Constructor<?>> proxyConstructors = new ConcurrentHashMap<>();
// ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentMap#
// ^^^^^ reference semanticdb maven jdk 11 java/lang/Class#
// ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor#
// ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#proxyConstructors.
// documentation ```java\nprivate ConcurrentMap<Class<?>, Constructor<?>> proxyConstructors\n```
// display_name proxyConstructors
// signature_documentation java private ConcurrentMap<Class<?>, Constructor<?>> proxyConstructors
// kind Field
// ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentHashMap#`<init>`().

@Override
// ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override#
public <C, W> Function<W, C> adapter(Class<C> contract, Class<W> wrappedClass) {
// ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C]
// documentation ```java\nC\n```
// display_name C
// signature_documentation java C
// kind TypeParameter
// ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W]
// documentation ```java\nW\n```
// display_name W
// signature_documentation java W
// kind TypeParameter
// ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W]
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C]
// ^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().
// documentation ```java\n@Override\npublic <C, W> Function<W, C> adapter(Class<C> contract, Class<W> wrappedClass)\n```
// display_name adapter
// signature_documentation java @Override\npublic <C, W> Function<W, C> adapter(Class<C> contract, Class<W> wrappedClass)
// kind Method
// relationship is_reference is_implementation semanticdb maven . . minimized/AnnotationsOnParameterizedTypes#adapter().
// ^^^^^ reference semanticdb maven jdk 11 java/lang/Class#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C]
// ^^^^^^^^ definition local 0
// documentation ```java\nClass<C> contract\n```
// display_name contract
// signature_documentation java Class<C> contract
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().
// ^^^^^ reference semanticdb maven jdk 11 java/lang/Class#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W]
// ^^^^^^^^^^^^ definition local 1
// documentation ```java\nClass<W> wrappedClass\n```
// display_name wrappedClass
// signature_documentation java Class<W> wrappedClass
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().

Function<InvocationHandler, C> constructor = getConstructor(contract);
// ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function#
// ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationHandler#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C]
// ^^^^^^^^^^^ definition local 2
// documentation ```java\nFunction<InvocationHandler, C> constructor\n```
// display_name constructor
// signature_documentation java Function<InvocationHandler, C> constructor
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().
// kind Variable
// ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().
// ^^^^^^^^ reference local 0

Expand All @@ -95,30 +116,41 @@ public <C, W> Function<W, C> adapter(Class<C> contract, Class<W> wrappedClass) {

private <T> Function<InvocationHandler, T> getConstructor(Class<T> contract) {
// ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T]
// documentation ```java\nT\n```
// display_name T
// signature_documentation java T
// kind TypeParameter
// ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function#
// ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationHandler#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T]
// ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().
// documentation ```java\nprivate <T> Function<InvocationHandler, T> getConstructor(Class<T> contract)\n```
// display_name getConstructor
// signature_documentation java private <T> Function<InvocationHandler, T> getConstructor(Class<T> contract)
// kind Method
// ^^^^^ reference semanticdb maven jdk 11 java/lang/Class#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T]
// ^^^^^^^^ definition local 3
// documentation ```java\nClass<T> contract\n```
// display_name contract
// signature_documentation java Class<T> contract
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().
@SuppressWarnings("unchecked")
// ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings#
Constructor<T> constructor = (Constructor<T>) proxyConstructors.computeIfAbsent(contract, c -> {
// ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T]
// ^^^^^^^^^^^ definition local 4
// documentation ```java\n@SuppressWarnings("unchecked")\nConstructor<T> constructor\n```
// display_name constructor
// signature_documentation java @SuppressWarnings("unchecked")\nConstructor<T> constructor
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().
// kind Variable
// ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor#
// ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T]
// ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#proxyConstructors.
// ^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentMap#computeIfAbsent().
// ^^^^^^^^ reference local 3
// ^ definition local 5
// documentation ```java\nClass<?> c\n```
// display_name c
// signature_documentation java Class<?> c
// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().
return null;
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public interface InnerInterface<A, B> {
// display_name InnerAnnotation
// signature_documentation java public @interface InnerAnnotation
// kind Interface
// relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
// relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation#
int value();
// ^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerAnnotation#value().
// display_name value
Expand Down
Loading

0 comments on commit 998d987

Please sign in to comment.