• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

leeonky / test-charm-java / 293

12 Sep 2025 04:43PM UTC coverage: 74.22% (-0.09%) from 74.312%
293

push

circleci

leeonky
create sub list from spec list in spec

33 of 42 new or added lines in 8 files covered. (78.57%)

32 existing lines in 11 files now uncovered.

8234 of 11094 relevant lines covered (74.22%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/bean-util/src/main/java/com/github/leeonky/util/PropertyAccessor.java
1
package com.github.leeonky.util;
2

3
import java.lang.annotation.Annotation;
4
import java.lang.reflect.Type;
5
import java.util.Optional;
6

7
public interface PropertyAccessor<T> {
8

9
    String getName();
10

11
    Object tryConvert(Object value);
12

13
    BeanClass<T> getBeanType();
14

15
    Type getGenericType();
16

17
    BeanClass<?> getType();
18

19
    <A extends Annotation> A getAnnotation(Class<A> annotationClass);
20

21
    default <A extends Annotation> Optional<A> annotation(Class<A> annotationClass) {
22
        return Optional.ofNullable(getAnnotation(annotationClass));
1✔
23
    }
24

25
    boolean isBeanProperty();
26

27
    default BeanClass<?> getOriginType() {
UNCOV
28
        return getType();
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc