Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during
compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based
@AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step.
This library is a superset of AspectJ weaver and hence also of AspectJ runtime.
/*
* Copyright (c) OSGi Alliance (2012, 2020). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.osgi.dto;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Super type for Data Transfer Objects.
*
* A Data Transfer Object (DTO) is easily serializable having only public fields
* of primitive types and their wrapper classes, String, enums, Version, and
* DTOs. List, Set, Map, and array aggregates may also be used. The aggregates
* must only hold objects of the listed types or aggregates. The types for Map
* keys are limited to primitive wrapper classes, String, enums, and Version.
*
* The object graph from a Data Transfer Object must be a tree to simplify
* serialization and deserialization.
*
* @author $Id: ffcb6416b152127a4c3fdca52426cacbe2f13a58 $
* @NotThreadSafe
*/
public abstract class DTO {
/**
* Return a string representation of this DTO suitable for use when
* debugging.
*
* The format of the string representation is not specified and subject to
* change.
*
* @return A string representation of this DTO suitable for use when
* debugging.
*/
@Override
public String toString() {
return appendValue(new StringBuilder(),
new IdentityHashMap